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