private void SpawnNewObstacle() { ObstacleManager o = obstacleTypes[m_currentObstacleCycle]; if (o.CanSpawnObstacle()) { o.SpawnObstacle(); IncrementCurrentObstacleCycle(); } }
private void SpawnNewObstacle() { ObstacleManager o = obstacleTypes[m_currentObstacleCycle]; if (o.CanSpawnObstacle()) { o.SpawnObstacle(); IncrementCurrentObstacleCycle(); } }