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

19 lines
348 B
C#
Raw Normal View History

2021-09-24 00:34:18 -06:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class MainMenu : MonoBehaviour
{
public void PlayGame()
{
SceneManager.LoadScene(1);
}
public void QuitGame()
{
//Application.Quit();
Debug.Log("Quit");
}
}