2021-01-25 22:40:51 +01:00
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
using UnityEngine.SceneManagement;
|
|
|
|
|
|
|
|
|
|
public class GameMenu : MonoBehaviour
|
|
|
|
|
{
|
|
|
|
|
public void PlayGame()
|
|
|
|
|
{
|
2021-01-27 21:27:05 +01:00
|
|
|
|
SceneManager.LoadScene("AgainScene");
|
2021-01-25 22:40:51 +01:00
|
|
|
|
}
|
|
|
|
|
public void QuitToMenu()
|
|
|
|
|
{
|
|
|
|
|
SceneManager.LoadScene("MenuScene");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|