Пример #1
0
 public void NextObstacle()
 {
     playerController.ScrollPlayer(-70, 0.5f);
     obstacleController.ScrollObject(-70, 0.5f);
     obstacleController.UnLoadCurrentObstacle();
     obstacleController.UpdateCurrentObstacle();
     StartCoroutine(LoadNextObstacle());
 }