| | |
| | | [SerializeField] ButtonEx btnRecord;
|
| | | [SerializeField] ButtonEx btnRefresh;
|
| | | [SerializeField] ButtonEx btnAutoCollect;
|
| | | [SerializeField] UIEffect uiEffectAutoCollectStart;
|
| | |
|
| | | [SerializeField] ButtonEx btnRreasureBowl;
|
| | | [SerializeField] ButtonEx btnSearch;
|
| | |
| | | WindowCenter.Instance.windowBeforeOpenEvent += OnWindowBeforeOpenEvent;
|
| | | WindowCenter.Instance.windowBeforeCloseEvent += OnWindowBeforeCloseEvent;
|
| | | DTC0102_tagCDBPlayer.beforePlayerDataInitializeEvent += OnBeforePlayerDataInitialize;
|
| | | blessedLandManageMouseModel.StartStateChangeEvent += OnStartStateChangeEvent;
|
| | | ModelCenter.Instance.GetModel<BlessedLandModel>().showPlayerId = blessedLandModel.myPlayerId;
|
| | | if (blessedLandModel.AwardType == 0)
|
| | | blessedLandModel.SendCB034Pack();
|
| | | Display();
|
| | | uiEffectAutoCollectStart.SetActive(blessedLandManageMouseModel.startState);
|
| | | }
|
| | |
|
| | | private void OnStartStateChangeEvent()
|
| | | {
|
| | | uiEffectAutoCollectStart.SetActive(blessedLandManageMouseModel.startState);
|
| | | }
|
| | |
|
| | | void Display()
|
| | |
| | | WindowCenter.Instance.windowBeforeOpenEvent -= OnWindowBeforeOpenEvent;
|
| | | WindowCenter.Instance.windowBeforeCloseEvent -= OnWindowBeforeCloseEvent;
|
| | | DTC0102_tagCDBPlayer.beforePlayerDataInitializeEvent -= OnBeforePlayerDataInitialize;
|
| | | blessedLandManageMouseModel.StartStateChangeEvent -= OnStartStateChangeEvent;
|
| | | }
|
| | |
|
| | | private void OnWindowBeforeOpenEvent(Window window)
|