Ejemplo n.º 1
0
        public void OnDestroy()
        {
            AYSCMenuAppLToolBar.Destroy();

            //if (GuiVisible) GuiVisible = !GuiVisible;
            InputLock = false;
        }
Ejemplo n.º 2
0
        public void OnDestroy()
        {
            TSTMenuAppLToolBar.Destroy();

            TSTMstStgs.Instance.TSTsettings.FwindowPosX  = FwindowPos.x;
            TSTMstStgs.Instance.TSTsettings.FwindowPosY  = FwindowPos.y;
            TSTMstStgs.Instance.TSTsettings.SCwindowPosX = SCwindowPos.x;
            TSTMstStgs.Instance.TSTsettings.SCwindowPosY = SCwindowPos.y;
        }
Ejemplo n.º 3
0
        public void OnDestroy()
        {
            TSTMenuAppLToolBar.Destroy();

            TSTMstStgs.Instance.TSTsettings.FwindowPosX = FwindowPos.x;
            TSTMstStgs.Instance.TSTsettings.FwindowPosY = FwindowPos.y;

            GameEvents.onGameSceneSwitchRequested.Remove(onGameSceneSwitchRequested);
            GameEvents.onVesselSwitching.Remove(onVesselSwitching);
        }
Ejemplo n.º 4
0
        void OnDestroy()
        {
            this.Log("OnDestroy");
            TACMenuAppLToolBar.Destroy();

            // Make sure we remove our locks
            if (InputLockManager.GetControlLock(lockName) == desiredLock)
            {
                InputLockManager.RemoveControlLock(lockName);
            }
        }