fgm24/Assets/Scripts/GameOverMainMenuReturnerBut...

12 lines
345 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() {
SceneManager.LoadScene(0);
}
}