27 lines
448 B
C#
27 lines
448 B
C#
|
|
using UnityEngine;
|
|
using UnityEngine.SceneManagement;
|
|
|
|
public class MainMenu : MonoBehaviour
|
|
{
|
|
public void play()
|
|
{
|
|
SceneManager.LoadScene(1);
|
|
}
|
|
public void Exit()
|
|
{
|
|
Application.Quit();
|
|
}
|
|
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
|
void Start()
|
|
{
|
|
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
}
|