Beispiel #1
0
 public void NextStage()
 {
     if (paused)
     {
         Pause();
     }
     previousLaunch = null;
     LevelManager._instance.NextStage();
 }
Beispiel #2
0
    public void Quit()
    {
        if (paused)
        {
            Pause();
        }

        if (playerDied)
        {
            LoseLives();
            playerDied = false;
        }
        if (adViewed)
        {
            GainLives();
            adViewed = false;
        }
        previousLaunch = null;
        SceneManager.LoadScene("MainMenu");
    }
Beispiel #3
0
 public void StoreLaunch(Vector3 direction, float burst)
 {
     previousLaunch = new PreviousLaunch(direction, burst);
 }