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