fgm24/Assets/Scripts/GameOverMainMenuReturnerBut...

13 lines
382 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 11:13:51 +01:00
AudioManager.StopAllAudio();
2024-02-04 10:31:50 +01:00
SceneManager.LoadScene(0);
}
}