gimm-platformer-project/Assets/Scripts/MainMenu.cs

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");
}
}