aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcinzelent <zelent.marcin@gmail.com>2019-04-28 12:59:05 +0200
committermarcinzelent <zelent.marcin@gmail.com>2019-04-28 12:59:05 +0200
commit98bb688bd7c709eca3e97c5e9d58415d7df65db3 (patch)
tree9a69fa2ccfb3777f5915cdecdcaacb40b7908469
parent8b1b6a245713f830220dd79cf508f3928a9022bf (diff)
Quick fix
-rw-r--r--nGJ2019/Assets/Scripts/DragonMovement.cs677
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 slitherPhase = 0;
-
- public HealthBar healthBa