少年修仙传客户端代码仓库
client_Wu Xijin
2019-04-28 68a64a4a08178d9f67f3797f1c6f3709a561defa
3335 修改界面功能框架。
2个文件已修改
9 ■■■■ 已修改文件
UI/Common/FunctionButton.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
UI/Common/FunctionButtonGroup.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
UI/Common/FunctionButton.cs
@@ -60,6 +60,12 @@
            set { this.m_Title = value; }
        }
        [SerializeField] RedpointBehaviour m_Redpoint;
        public RedpointBehaviour redpoint {
            get { return m_Redpoint; }
            set { m_Redpoint = value; }
        }
        [SerializeField] Shadow m_Shadow;
        public Shadow shadow {
            get { return this.m_Shadow; }
@@ -159,7 +165,7 @@
        {
            if (state == TitleBtnState.Locked)
            {
                if(OnPointClickLockFunc != null)
                if (OnPointClickLockFunc != null)
                {
                    OnPointClickLockFunc(this.gameObject.name);
                }
UI/Common/FunctionButtonGroup.cs
@@ -198,6 +198,7 @@
            functionButton.title.text = title;
            functionButton.group = this;
            functionButton.redpoint.redpointId = redpointId;
            functionButtons[order] = functionButton;
            return functionButton;
        }