Exemplo n.º 1
0
        protected override void DrawGUI()
        {
            BeginGroup(Frame);
            {
                if (GUI.Button(this.Bounds, m_content, this.Style))
                {
                    CEditorApp.HandleURL(m_href);
                }
            }
            EndGroup();

            #if !(UNITY_4_7 || UNITY_4_6 || UNITY_4_5 || UNITY_4_4 || UNITY_4_3 || UNITY_4_2 || UNITY_4_1 || UNITY_4)
            Rect linkFrame = this.Frame;
            linkFrame.height = this.Style.font.ascent;
            CUIHelper.DrawUnderLine(linkFrame, this.Style.normal.textColor);
            #endif
        }