| | |
| | | |
| | | [SerializeField] public RedpointBehaviour redpoint; //外部自己用 |
| | | |
| | | public bool isLock = false; |
| | | public bool isLock = false; //正常响应按钮点击,但是锁住点击的按钮变化 |
| | | |
| | | protected override void Awake() |
| | | { |
| | |
| | | |
| | | public override void OnPointerClick(PointerEventData eventData) |
| | | { |
| | | base.OnPointerClick(eventData); |
| | | if (isLock) |
| | | return; |
| | | base.OnPointerClick(eventData); |
| | | SelectBtn(); |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | guildShopBtn.SetColorful(null, PlayerDatas.Instance.fairyData.HasFairy); |
| | | guildShopBtn.isLock = !PlayerDatas.Instance.fairyData.HasFairy; |
| | | |
| | | ShowMoney(); |
| | | CreateScroller(); |
| | |
| | | } |
| | | } |
| | | scroller.Restart(); |
| | | scroller.lockType = EnhanceLockType.KeepVertical; |
| | | } |
| | | |
| | | |