main menu and other UI
This commit is contained in:
13
Assets/Scripts/SceneManagerUIHelper.cs
Normal file
13
Assets/Scripts/SceneManagerUIHelper.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.SceneManagement;
|
||||
|
||||
public class SceneManagerUIHelper : MonoBehaviour
|
||||
{
|
||||
public void LoadScene(string sceneName){
|
||||
SceneManager.LoadScene(sceneName);
|
||||
}
|
||||
|
||||
public void Quit(){
|
||||
Application.Quit();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user