Process.Exited event works but functions do not call
Hi, I have the following code:
Process.Exited event works but functions do not call
Code (CSharp):
- void StartAC()
- {
- GameRunning_UI.SetActive(true);
- {
- FileName = Acs_exe_path,
- WorkingDirectory = AcRootDirectory,
- });
- if (GameProcess == null || GameProcess.HasExited)
- {
- UnityEngine.Debug.LogError("Failed to start game process!");
- return;
- }
- GameProcess.EnableRaisingEvents = true;...