예제 #1
0
 /// <summary>
 /// Here when Editor Crew Panel is opened
 /// </summary>
 /// <param name="eventType"></param>
 /// <param name="part"></param>
 private void OnEditorCrewOpened()
 {
     try
     {
         if (KerbalSorter.Sort_Kerbals())
         {
             print("AlphabeticalKerbals: CrewPanel Sorting successful!");
             HasBeenSorted = true;
         }
     }
     catch (Exception e)
     {
         print("AlphabeticalKerbals: There was an error in OnEditorCrewOpened");
     }
 }
예제 #2
0
 public void OnLaunchDialogTick()
 {
     KerbalSorter.Sort_Kerbals_If_Needed();
 }
예제 #3
0
        public void OnLaunchDialog()
        {
            print("Alphabetical Kerbals: Vessel Spawn Dialog detected.");

            KerbalSorter.Sort_Kerbals();
        }
예제 #4
0
 public void OnCrewPanelTick()
 {
     KerbalSorter.Sort_Kerbals_If_Needed();
 }