Skip to content
Snippets Groups Projects
Select Git revision
  • 856e8db74a4bd5c21f5f441b84e83b14f4f77090
  • main default
  • master
  • tempAndrToMaster
4 results

JSONManager.cs.meta

Blame
  • Restart.cs 425 B
    using UnityEngine;
    using static StartServer;
    
    public class Restart : MonoBehaviour
    {
        public void LoadStartScreen()
        {
            process.Kill();
            Level.solved = false;
            //TODO: CommunicationEvents.Facts2.Clear();
            CommunicationEvents.Facts.hardreset();
            UnityEngine.SceneManagement.SceneManager.LoadScene(0);
        }
    
        public void OnApplicationQuit()
        {
            process.Kill();
        }
    }