16 lines
286 B
C#
16 lines
286 B
C#
using UnityEngine;
|
|
using UnityEngine.SceneManagement;
|
|
|
|
public class MainMenu : MonoBehaviour
|
|
{
|
|
public void PlayGame()
|
|
{
|
|
SceneManager.LoadScene(1);
|
|
}
|
|
|
|
public void QuitGame()
|
|
{
|
|
//Application.Quit();
|
|
Debug.Log("Quit");
|
|
}
|
|
}
|