void CloseConsoleWindow()
 {
     if (console != null)
     {
         console.Shutdown();
         console = null;
         input   = null;
     }
 }
Пример #2
0
 //
 // It's important to call console.ShutDown in OnDestroy
 // because compiling will error out in the editor if you don't
 // because we redirected output. This sets it back to normal.
 //
 void OnDestroy()
 {
     console.Shutdown();
 }