23 lines
415 B
C#
23 lines
415 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.SceneManagement;
|
|
using AngelsDemons;
|
|
|
|
public class SceneLoader : MonoBehaviour
|
|
{
|
|
public void StartGame()
|
|
{
|
|
SceneManager.LoadScene("BoardScene");
|
|
}
|
|
|
|
public void ExitGame()
|
|
{
|
|
SceneManager.LoadScene("Main");
|
|
}
|
|
|
|
public void RestartGame()
|
|
{
|
|
SceneManager.LoadScene(SceneManager.GetActiveScene().name);
|
|
}
|
|
}
|