少年修仙传客户端代码仓库
lwb
2021-02-25 0d7482d5a0e8bf082abfb4b5bfbfee03597cdc3a
UI/Common/FunctionButton.cs
@@ -13,7 +13,7 @@
namespace Snxxz.UI
{
    [XLua.LuaCallCSharp]
    public class FunctionButton : Button
    {
        [SerializeField] int m_Order = 0;
@@ -27,9 +27,9 @@
        [SerializeField] int m_FunctionId = -1;
        public int functionId {
            get { return m_FunctionId; }
            set {
                m_FunctionId = value;
                OnFunctionUnLockStateChange();
            set {
                m_FunctionId = value;
                OnFunctionUnLockStateChange();
            }
        }
@@ -64,11 +64,11 @@
        }
        [SerializeField] RedpointBehaviour m_Redpoint;
        public RedpointBehaviour redpoint {
            get { return m_Redpoint; }
            set { m_Redpoint = value; }
        }
        public RedpointBehaviour redpoint {
            get { return m_Redpoint; }
            set { m_Redpoint = value; }
        }
        [SerializeField] Shadow m_Shadow;
        public Shadow shadow {
            get { return this.m_Shadow; }
@@ -181,9 +181,9 @@
            if (!invokeForce && state == TitleBtnState.Click)
            {
                if (repeatClickFunc != null)
                {
                    repeatClickFunc();
                if (repeatClickFunc != null)
                {
                    repeatClickFunc();
                }
                return;
            }