Example #1
0
 public void Restart()
 {
     SceneManager.LoadScene("Hub");
     CharacterSelection.SetDisplay();
     TimerManager.GameRestarted();
     CoinLevelManager.ResetCoins();
     CoinLevelManager.ResetLevels();
     Destroy(PlayerSingleton.player);
 }
Example #2
0
 void Start()
 {
     _player      = PlayerSingleton.player;
     _coinManager = this.gameObject.GetComponent <CoinLevelManager>();
 }