Pracownia-Programowania-Pro.../Assets/Scripts/Main menu/MainMenu.cs

17 lines
312 B
C#
Raw Normal View History

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class MainMenu : MonoBehaviour
{
public void PlayGame()
{
SceneManager.LoadScene("StartScene");
}
public void QuitGame()
{
Application.Quit();
}
}