Exemple #1
0
 public void LoadPartPopup(Action <Part> onPartLoaded, Action noSelection = null)
 {
     this.onPartLoaded = onPartLoaded;
     this.noSelection  = noSelection;
     partLoadPopup.SetActive(true);
     Part[] parts = PlayerManager.instance.activePlayer?.ActiveCompany?.engineeringDepartment.AllParts;
     partList.DisplayParts(parts);
 }