public void OnDestroy() { AYSCMenuAppLToolBar.Destroy(); //if (GuiVisible) GuiVisible = !GuiVisible; InputLock = false; }
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; }
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); }
void OnDestroy() { this.Log("OnDestroy"); TACMenuAppLToolBar.Destroy(); // Make sure we remove our locks if (InputLockManager.GetControlLock(lockName) == desiredLock) { InputLockManager.RemoveControlLock(lockName); } }