|
|
|
|
@ -0,0 +1,21 @@
|
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
using UnityEngine.SceneManagement;
|
|
|
|
|
|
|
|
|
|
public class MainMenu : MonoBehaviour
|
|
|
|
|
{
|
|
|
|
|
public void PlayGame()
|
|
|
|
|
{
|
|
|
|
|
SceneManager.LoadScene("Dream");
|
|
|
|
|
}
|
|
|
|
|
public void QuitGame()
|
|
|
|
|
{
|
|
|
|
|
Debug.Log("QuitGame");
|
|
|
|
|
Application.Quit();
|
|
|
|
|
}
|
|
|
|
|
public void BackToTitle()
|
|
|
|
|
{
|
|
|
|
|
SceneManager.LoadScene("Title");
|
|
|
|
|
}
|
|
|
|
|
}
|