literally half of the game
This commit is contained in:
parent
1590b5faa6
commit
b842289076
77 changed files with 11904 additions and 72 deletions
24
Assets/Scripts/MainMenuHandler.cs
Normal file
24
Assets/Scripts/MainMenuHandler.cs
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
using UnityEngine;
|
||||
using UnityEngine.SceneManagement;
|
||||
|
||||
public class MainMenuHandler : MonoBehaviour
|
||||
{
|
||||
public void ContinueSave()
|
||||
{
|
||||
|
||||
}
|
||||
public void NewSave()
|
||||
{
|
||||
SceneManager.LoadScene(1);
|
||||
}
|
||||
|
||||
public void QuitGame()
|
||||
{
|
||||
Application.Quit();
|
||||
}
|
||||
public void ShowUI(GameObject openedUI, GameObject closedUI)
|
||||
{
|
||||
openedUI.gameObject.SetActive(true);
|
||||
closedUI.gameObject.SetActive(false);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue