Files
XR-Aphantasia/Assets/Scripts/AphantasiaGameManager.cs
2026-04-29 13:13:47 +02:00

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()
{
}
}