void Awake()
 {
     if (!HighLogic.LoadedSceneIsEditor
         && !HighLogic.LoadedSceneIsFlight) {
         Destroy (this);
         return;
     }
     windowInstance = this;
     enabled = false;
 }
Beispiel #2
0
 void Awake()
 {
     if (!HighLogic.LoadedSceneIsEditor &&
         !HighLogic.LoadedSceneIsFlight)
     {
         Destroy(this);
         return;
     }
     windowInstance = this;
     enabled        = false;
 }
 public void ShowRenameUI()
 {
     ST_RenameWindow.ShowGUI(this);
 }