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(); }
public void ActivateLevelPrefabs() { PlayerController.Get().transform.gameObject.SetActive(true); UIManagerGame.Get().transform.gameObject.SetActive(true); CameraController.Get().ResetPos(); }
public void DisableLevelPrefabs() { PlayerController.Get().transform.gameObject.SetActive(false); UIManagerGame.Get().transform.gameObject.SetActive(false); }