Beispiel #1
0
    private void HandleLevelComplete()
    {
        audioSource.Stop();
        audioSource.PlayOneShot(transcendAudio);

        thrustParticles.Stop();
        successParticles.Play();

        state = State.Transcending;

        scoreTracker.AddLandingScore();

        ui.SetFinalTimeAndScore(hud.GetFinalTime(), scoreTracker.GetBaseScore());
        ui.SetLevelCompleteMenuDisplay(true);

        Cursor.visible   = true;
        Cursor.lockState = CursorLockMode.None;
    }