fgm24/Assets/Scripts/GameOverMainMenuReturnerBut...

13 lines
391 B
C#
Raw Normal View History

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GameOverMainMenuReturnerButtonScriptForLoadingTheMainMenuSceneOnceAPlayerHasDiedAndHasThenPressedTheMainMenuButtonOnTheGameOverScreen : MonoBehaviour
{
2024-02-04 10:31:50 +01:00
public void r() {
2024-02-04 16:32:14 +01:00
AudioManager.Instance.StopAllAudio();
2024-02-04 10:31:50 +01:00
SceneManager.LoadScene(0);
}
}