internal override void Start() { GameEvents.onEditorShipModified.Add(ShipModified); GameEvents.onEditorLoad.Add(OnLoad); GameEvents.onEditorShowPartList.Add(RunTests); CrewPanelMonitor.CrewChanged += RunTests; ShipSections.API.PartSectionInitialized.Add(SectionInitialized); ShipSections.API.SectionRenamed.Add(SectionRenamed); ShipSections.API.SectionsMerged.Add(SectionsMerged); ShipSections.API.NewSectionCreated.Add(NewSection); Instance = this; }
internal override void Start() { GameEvents.onEditorShipModified.Add(ShipModified); GameEvents.onEditorLoad.Add(OnLoad); GameEvents.onEditorShowPartList.Add(RunTests); CrewPanelMonitor.CrewChanged += RunTests; ShipSections.API.PartSectionInitialized.Add(SectionInitialized); ShipSections.API.SectionRenamed.Add(SectionRenamed); ShipSections.API.SectionsMerged.Add(SectionsMerged); ShipSections.API.NewSectionCreated.Add(NewSection); Instance = this; }