Пример #1
0
 public void ResetAll()
 {
     levelCount = 0;
     time       = 0;
     score      = 0;
     Reset(this);
     PlayerController.Get().ResetAll();
     PlayerController.Get().transform.gameObject.SetActive(false);
     UIManagerGame.Get().transform.gameObject.SetActive(false);
     CameraController.Get().ResetPos();
 }
Пример #2
0
 public void ActivateLevelPrefabs()
 {
     PlayerController.Get().transform.gameObject.SetActive(true);
     UIManagerGame.Get().transform.gameObject.SetActive(true);
     CameraController.Get().ResetPos();
 }
Пример #3
0
 public void DisableLevelPrefabs()
 {
     PlayerController.Get().transform.gameObject.SetActive(false);
     UIManagerGame.Get().transform.gameObject.SetActive(false);
 }