public static void StartGame(string gamePath) { // Prepare the process to run ProcessStartInfo start = new ProcessStartInfo { FileName = gamePath, WindowStyle = ProcessWindowStyle.Maximized, CreateNoWindow = true }; if (!ProcessActive) { ApplicationMngr.SpawnGameRunningScreen(); _process = Process.Start(start); } }
private void Awake() { _instance = this; }