示例#1
0
        private void OnGUI()
        {
            if (KCT_Utilities.CurrentGameIsMission())
            {
                return;
            }

            if (!GuiInit)
            {
                KCT_GUI.InitBuildListVars();
                KCT_GUI.InitBuildPlans();
                GuiInit = true;
            }
            KCT_GUI.SetGUIPositions();
        }
示例#2
0
        internal void OnGUI()
        {
            if (Utilities.CurrentGameIsMission())
            {
                return;
            }

            if (!_isGUIInitialized)
            {
                KCT_GUI.InitBuildListVars();
                KCT_GUI.InitBuildPlans();
                KCT_GUI.InitDevPartsToggle();
                _isGUIInitialized = true;
            }
            KCT_GUI.SetGUIPositions();
        }
示例#3
0
        private void OnGUI()
        {
#if KSP1_4
            // 1.4 Addition
            if (KCT_Utilities.CurrentGameIsMission())
            {
                return;
            }
#endif
            if (!GuiInit)
            {
                KCT_GUI.InitBuildListVars();
                KCT_GUI.InitBuildPlans();
                GuiInit = true;
            }
            KCT_GUI.SetGUIPositions();
        }