24 lines
399 B
C#
24 lines
399 B
C#
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);
|
|
}
|
|
}
|