Beispiel #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");
     }
 }
Beispiel #2
0
 public void OnLaunchDialogTick()
 {
     KerbalSorter.Sort_Kerbals_If_Needed();
 }
Beispiel #3
0
        public void OnLaunchDialog()
        {
            print("Alphabetical Kerbals: Vessel Spawn Dialog detected.");

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