internal void FacilityContextMenuSpawn(KSCFacilityContextMenu menu) { const string logBlockName = nameof(KerbalConstructionTime) + "." + nameof(FacilityContextMenuSpawn); using (EntryExitLogger.EntryExitLog(logBlockName, EntryExitLoggerOptions.All)) { KCT_KSCContextMenuOverrider overrider = new KCT_KSCContextMenuOverrider(menu); StartCoroutine(overrider.OnContextMenuSpawn()); } }
internal void FacilityContextMenuSpawn(KSCFacilityContextMenu menu) { if (KCT_GUI.PrimarilyDisabled) { return; } KCT_KSCContextMenuOverrider overrider = new KCT_KSCContextMenuOverrider(menu); StartCoroutine(overrider.OnContextMenuSpawn()); }
internal void FacilityContextMenuSpawn(KSCFacilityContextMenu menu) { KCT_KSCContextMenuOverrider overrider = new KCT_KSCContextMenuOverrider(menu); StartCoroutine(overrider.OnContextMenuSpawn()); }