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

18 lines
332 B
C#
Raw Normal View History

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GameMenu : MonoBehaviour
{
public void PlayGame()
{
SceneManager.LoadScene("AgainScene");
}
public void QuitToMenu()
{
SceneManager.LoadScene("MenuScene");
}
}