void OnDisable() { CockpitStateController.EditLockedStateChanged.Remove(OnEditLockedStateChanged); // Auto-release surfaces when they are hidden if (attachedInteractionPoint) { attachedInteractionPoint.ForceUngrab(this); } }
void OnDisable() { // Auto-release controls when they are hidden if (attachedInteractionPoint) { attachedInteractionPoint.ForceUngrab(this); } }
void OnDisable() { EDStateManager.EliteDangerousStarted.Listen(OnGameStart); // Auto-release controls when they are hidden if (attachedInteractionPoint) { attachedInteractionPoint.ForceUngrab(this); } }