Maintaince screen added
This commit is contained in:
14
Assets/Game/Scripts/SceneManagerHelper.cs
Normal file
14
Assets/Game/Scripts/SceneManagerHelper.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class SceneManagerHelper : MonoBehaviour
|
||||
{
|
||||
public void CloseGame(){
|
||||
Application.Quit();
|
||||
}
|
||||
|
||||
public void LoadLevel(string sceneName){
|
||||
LoadingScreen.instance.LoadLevel(sceneName);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user