/// <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"); } }
public void OnLaunchDialogTick() { KerbalSorter.Sort_Kerbals_If_Needed(); }
public void OnLaunchDialog() { print("Alphabetical Kerbals: Vessel Spawn Dialog detected."); KerbalSorter.Sort_Kerbals(); }
public void OnCrewPanelTick() { KerbalSorter.Sort_Kerbals_If_Needed(); }