Exemplo n.º 1
0
        private void CreateLightLineStyle()
        {
            Color     color      = this.m_themeColors.Get("LightLine").color;
            Texture2D background = TnGUIUtil.CreateTexture(2, 2, color);

            this.m_lightLineStyle = new GUIStyle(this.m_baseStyle);
            this.m_lightLineStyle.normal.background = background;
        }
Exemplo n.º 2
0
        private void CreateFocusedLineStyle()
        {
            Color     color      = this.m_themeColors.Get("FocusedLine").color;
            Texture2D background = TnGUIUtil.CreateTexture(2, 2, color);

            this.m_focusedLineStyle = new GUIStyle(this.m_baseStyle);
            this.m_focusedLineStyle.normal.background = background;
            this.m_focusedLineStyle.normal.textColor  = Color.white;
        }