From 7539e35ce26437c5aa0325936dea68132408c8b0 Mon Sep 17 00:00:00 2001 From: marcinzelent Date: Sat, 27 Apr 2019 15:23:18 +0200 Subject: Added rock jaws obstacle --- nGJ2019/Assets/Scripts/ObstacleSpawner.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'nGJ2019/Assets/Scripts/ObstacleSpawner.cs') 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; } -- cgit v1.2.3