상속: MonoBehaviourWindowPlus
 private void SetLocalVariables()
 {
     windowSettings        = mbARP.windowSettings;
     settings              = KSPAlternateResourcePanel.settings;
     lstResources          = mbARP.lstResourcesVessel;
     lstResourcesLastStage = mbARP.lstResourcesLastStage;
     SelectedResources     = mbARP.SelectedResources;
 }
 private void SetLocalVariables()
 {
     windowSettings = mbARP.windowSettings;
     settings = KSPAlternateResourcePanel.settings;
     lstResources = mbARP.lstResourcesVessel;
     lstResourcesLastStage = mbARP.lstResourcesLastStage;
     SelectedResources = mbARP.SelectedResources;
 }
예제 #3
0
 private void InitSettingsWindow()
 {
     // windowMain = gameObject.AddComponent<ARPWindow>();
     windowSettings = AddComponent<ARPWindowSettings>();
     windowSettings.mbARP = this;
     windowSettings.Visible = false;
     windowSettings.DragEnabled = true;
     windowSettings.ClampToScreenOffset = new RectOffset(-1, -1, -1, -1);
     windowSettings.TooltipsEnabled = true;
 }