internal void Update() { if (!NodeTools.PatchedConicsUnlocked) { return; } if (config.ShowKeymapperWindow && config.UiActive) { OpenKeybindingsWindow(); } else { CloseKeybindingsWindow(); } if (config.ShowMainWindow && config.UiActive && CanShowNodeEditor) { OpenMainWindow(); } else { CloseMainWindow(); } if (m_KeybindingsWindowObject != null) { hotkeys.ProcessHotkeySet(); } if (!FlightDriver.Pause && CanShowNodeEditor) { hotkeys.ProcessGlobalHotkeys(); if (m_MainWindowObject != null) { hotkeys.ProcessRegularHotkeys(); if (Input.GetMouseButtonUp(0)) { waitForGizmo = 3; } if (waitForGizmo > 0) { if (waitForGizmo == 1) { manager.SearchNewGizmo(); } waitForGizmo--; } manager.UpdateNodes(); } } if (m_MainWindowObject == null) { manager.Clear(); } }
internal void Update() { if (!NodeTools.PatchedConicsUnlocked) { return; } if (config.ShowKeymapperWindow && config.UiActive && MapView.MapIsEnabled) { OpenKeybindingsWindow(); } else { CloseKeybindingsWindow(); } if (config.ShowMainWindow && config.UiActive && CanShowNodeEditor) { OpenMainWindow(); } else { CloseMainWindow(); } if (m_KeybindingsWindowObject != null) { hotkeys.ProcessHotkeySet(); } if (!FlightDriver.Pause && CanShowNodeEditor) { hotkeys.ProcessGlobalHotkeys(); if (m_MainWindowObject != null) { hotkeys.ProcessRegularHotkeys(); manager.UpdateNodes(); } } if (m_MainWindowObject == null) { manager.Clear(); } }