Pracownia-Programowania-Pro.../Assets/Scripts/Main menu/MainMenu.cs
Polarjad 1ea616dd60 Added dungeon textures, added scenes, added UI
Enemy balance, added upgrades, added score, added menu
2021-01-25 22:40:51 +01:00

17 lines
312 B
C#

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