コード例 #1
0
ファイル: KerbalConstructionTime.cs プロジェクト: ntwest/KCT
        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());
            }
        }
コード例 #2
0
        internal void FacilityContextMenuSpawn(KSCFacilityContextMenu menu)
        {
            if (KCT_GUI.PrimarilyDisabled)
            {
                return;
            }

            KCT_KSCContextMenuOverrider overrider = new KCT_KSCContextMenuOverrider(menu);

            StartCoroutine(overrider.OnContextMenuSpawn());
        }
コード例 #3
0
        internal void FacilityContextMenuSpawn(KSCFacilityContextMenu menu)
        {
            KCT_KSCContextMenuOverrider overrider = new KCT_KSCContextMenuOverrider(menu);

            StartCoroutine(overrider.OnContextMenuSpawn());
        }