Example #1
0
 void OnDestroy()
 {
     GameDebug.Shutdown();
     Console.Shutdown();
     if (m_DebugOverlay != null)
     {
         m_DebugOverlay.Shutdown();
     }
 }
Example #2
0
    void OnDisable()
    {
        GameDebug.Shutdown();
        Overlay.Managed.DoShutdown();
        Console.Shutdown();

        game = null;
        GameApp.IsInitialized = false;

        InputSystem.SetMousePointerLock(false);
        GameDebug.Log("A2 was shutdown");
    }