| | |
| | | namespace Snxxz.UI |
| | | { |
| | | |
| | | [XLua.LuaCallCSharp] |
| | | |
| | | public class FunctionButton : Button |
| | | { |
| | | [SerializeField] int m_Order = 0; |
| | |
| | | [SerializeField] int m_FunctionId = -1; |
| | | public int functionId { |
| | | get { return m_FunctionId; } |
| | | set {
|
| | | m_FunctionId = value;
|
| | | OnFunctionUnLockStateChange();
|
| | | set { |
| | | m_FunctionId = value; |
| | | OnFunctionUnLockStateChange(); |
| | | } |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | [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; } |
| | |
| | | |
| | | if (!invokeForce && state == TitleBtnState.Click) |
| | | { |
| | | if (repeatClickFunc != null)
|
| | | {
|
| | | repeatClickFunc();
|
| | | if (repeatClickFunc != null) |
| | | { |
| | | repeatClickFunc(); |
| | | } |
| | | return; |
| | | } |