Example #1
0
 void OnDestroy()
 {
     if (console != null)
     {
         console.Shutdown();
     }
 }
Example #2
0
    public new void OnDestroy()
    {
        base.OnDestroy();

        if (isConsoleServer)
        {
            console.Shutdown();
        }
    }
Example #3
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();
 }
Example #4
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()
    {
#if SERVER
        console.Shutdown();
#endif
    }