diff options
Diffstat (limited to 'nGJ2019/Assets/Scripts')
| -rw-r--r-- | nGJ2019/Assets/Scripts/DragonMovement.cs | 677 |
1 files changed, 339 insertions, 338 deletions
diff --git a/nGJ2019/Assets/Scripts/DragonMovement.cs b/nGJ2019/Assets/Scripts/DragonMovement.cs index 850ea2a..69be151 100644 --- a/nGJ2019/Assets/Scripts/DragonMovement.cs +++ b/nGJ2019/Assets/Scripts/DragonMovement.cs @@ -5,342 +5,343 @@ using UnityEngine.SceneManagement; public class DragonMovement : MonoBehaviour { - public List<Renderer> solids; - - public GameObject hurtPrefab; - - public float horizontalSpeed = 0.1f; - public float verticalSpeed = 0.2f; - - private Vector3 direcV = Vector3.zero; - private Vector3 deltaV = Vector3.zero; - - public float horizontalBound = 6f; - public float verticalBound = 4f; - - private float |