diff options
author | marcinzelent <zelent.marcin@gmail.com> | 2019-04-27 15:23:18 +0200 |
---|---|---|
committer | marcinzelent <zelent.marcin@gmail.com> | 2019-04-27 15:23:18 +0200 |
commit | 7539e35ce26437c5aa0325936dea68132408c8b0 (patch) | |
tree | bd676584a4af715b3b62ac2eab6d8b5dae0919cf /nGJ2019/Assets/Scripts/ObstacleSpawner.cs | |
parent | 0cfee1d1f1a2a06c86080f62ce26a3eabe6b5ffd (diff) |
Added rock jaws obstacle
Diffstat (limited to 'nGJ2019/Assets/Scripts/ObstacleSpawner.cs')
-rw-r--r-- | nGJ2019/Assets/Scripts/ObstacleSpawner.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nGJ2019/Assets/Scripts/ObstacleSpawner.cs b/nGJ2019/Assets/Scripts/ObstacleSpawner.cs index a9d1078..c285352 100644 --- a/nGJ2019/Assets/Scripts/ObstacleSpawner.cs +++ b/nGJ2019/Assets/Scripts/ObstacleSpawner.cs @@ -47,6 +47,7 @@ public class ObstacleSpawner : MonoBehaviour timeline.Add(2, 2.75f, ObstacleType.rockTop); timeline.Add(8, -2, ObstacleType.rockBottom); timeline.Add(20, 0, ObstacleType.narrowPassage); + timeline.Add(30, 0, ObstacleType.rockJaws); timeline.OnSpawnEvent += spawnOnEvent; } |