33 lines
613 B
C#
33 lines
613 B
C#
using UnityEngine;
|
|
using UnityEngine.SceneManagement;
|
|
|
|
public class AphantasiaGameManager : MonoBehaviour
|
|
{
|
|
public void GoToSceneDrawing()
|
|
{
|
|
SceneManager.LoadScene(0);
|
|
}
|
|
|
|
public void GoToSceneMap()
|
|
{
|
|
SceneManager.LoadScene(1);
|
|
}
|
|
|
|
public void ReloadCurrentScene()
|
|
{
|
|
SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex);
|
|
}
|
|
|
|
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
|
void Start()
|
|
{
|
|
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
}
|