Exemplo n.º 1
0
        void Start()
        {
            Instance         = this;
            ROOT_PATH        = KSPUtil.ApplicationRootPath;
            smallButtonStyle = new GUIStyle(HighLogic.Skin.button);
            smallButtonStyle.stretchHeight = false;
            smallButtonStyle.fixedHeight   = 20f;

            smallScrollBar            = new GUIStyle(HighLogic.Skin.verticalScrollbar);
            smallScrollBar.fixedWidth = 8f;
        }
Exemplo n.º 2
0
        void Start()
        {
            Instance         = this;
            ROOT_PATH        = KSPUtil.ApplicationRootPath;
            smallButtonStyle = new GUIStyle(HighLogic.Skin.button);
            smallButtonStyle.stretchHeight = false;
            smallButtonStyle.fixedHeight   = 20f;

            smallScrollBar            = new GUIStyle(HighLogic.Skin.verticalScrollbar);
            smallScrollBar.fixedWidth = 8f;

            MOD             = Assembly.GetAssembly(typeof(EvaFuelManager)).GetName().Name;
            settingsRect    = new Rect(200, 200, 275, 400);
            scrollPosition1 = Vector2.zero;
        }