19 lines
389 B
C#
19 lines
389 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine.SceneManagement;
|
|
using UnityEngine;
|
|
|
|
public class SceneStateManager : MonoBehaviour
|
|
{
|
|
public void MainMenu(){
|
|
SceneManager.LoadScene("TitleScreen");
|
|
}
|
|
public void MainGame(){
|
|
SceneManager.LoadScene("MainGameScene");
|
|
}
|
|
|
|
public void Quit(){
|
|
Application.Quit();
|
|
}
|
|
}
|