Esempio n. 1
0
 /// <summary>
 /// Carrega a scene do planeta selecionado
 /// </summary>
 public void GoToPlanet(VideoClip video)
 {
     for (int i = 0; i < chosenPlanet.Length; i++)
     {
         if (chosenPlanet[i])
         {
             loadScene.LoadSceneWithFade(video, planets[i].GetComponent <StageSelectButtons>().GetPlanetLevel());
         }
     }
 }