mirror of
https://github.com/ryzij/Cube-Tower-Defense.git
synced 2026-07-14 01:56:57 +00:00
16 lines
269 B
C#
16 lines
269 B
C#
using UnityEngine;
|
|
using UnityEngine.SceneManagement;
|
|
|
|
public class GameOverMenu : MonoBehaviour
|
|
{
|
|
public void RestartGame()
|
|
{
|
|
SceneManager.LoadScene("Island");
|
|
}
|
|
|
|
public void MainMenu()
|
|
{
|
|
SceneManager.LoadScene("MainMenu");
|
|
}
|
|
}
|