コード例 #1
0
 public void Activate()
 {
     Events["Activate"].active   = false;
     Events["Deactivate"].active = true;
     status = "Active";
     if (sm != null)
     {
         sm.Enable();
     }
 }
コード例 #2
0
 [KSPEvent(guiActive = true, guiName = "#EL_UI_ActivateRecycler", active = true)] //Activate Recycler
 public void Activate()
 {
     Events["Activate"].active   = false;
     Events["Deactivate"].active = true;
     status = LocalStrings.Active;    //"Active"
     if (sm != null)
     {
         sm.Enable();
     }
 }