Ejemplo n.º 1
0
        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());
            }
        }
Ejemplo n.º 2
0
        internal void FacilityContextMenuSpawn(KSCFacilityContextMenu menu)
        {
            if (KCT_GUI.PrimarilyDisabled)
            {
                return;
            }

            KCT_KSCContextMenuOverrider overrider = new KCT_KSCContextMenuOverrider(menu);

            StartCoroutine(overrider.OnContextMenuSpawn());
        }
Ejemplo n.º 3
0
        internal void FacilityContextMenuSpawn(KSCFacilityContextMenu menu)
        {
            KCT_KSCContextMenuOverrider overrider = new KCT_KSCContextMenuOverrider(menu);

            StartCoroutine(overrider.OnContextMenuSpawn());
        }