/// <summary> /// Called by Unity once per frame. /// </summary> public void Update( ) { if (UiActive( ) && _window.IsVisible) { _EventHandler.Update( ); } }
// Called by Unity once per frame. public void Update( ) { if (ResearchAndDevelopment.Instance == null) { return; } if (PartLoader.Instance == null) { return; } if (UiActive( ) && (_checklistWindow.IsVisible || _statusWindow.IsVisible( ))) { ScienceEventHandler.Update( ); } }