Esempio n. 1
0
 public override void OnCraftStructureChanged(ICraftScript craftScript)
 {
     base.OnCraftStructureChanged(craftScript);
     if (Game.InDesignerScene)
     {
         Data.OnDesignerCraftStructureChanged();
     }
 }
Esempio n. 2
0
 public override void OnCraftStructureChanged(ICraftScript craftScript)
 {
     this._battery = this.PartScript?.BatteryFuelSource;
 }
Esempio n. 3
0
 public override void OnCraftLoaded(ICraftScript craftScript, bool movedToNewCraft)
 {
     this.OnCraftStructureChanged(craftScript);
 }