Exemple #1
0
 public void PlanetPanelResponse(bool teleport)
 {
     player.RestartPlayer();
     ResumeGame();
     if (teleport)
     {
         levelsManager.LoadPlanet(currentPlanet.planetType);
         currentPlanet = null;
         LoadNextLevel();
     }
     else
     {
         currentPlanet = null;
     }
 }