| | |
| | | [SerializeField] Button closeBtn;
|
| | | [SerializeField] FunctionButton arenaFunc;
|
| | | [SerializeField] FunctionButton bossFunc;
|
| | | [SerializeField] FunctionButton m_HazyRegion;
|
| | | [SerializeField] FunctionButtonGroup funcGroup;
|
| | | #region Built-in
|
| | | protected override void BindController()
|
| | |
| | | rightBtn.AddListener(ClickRight);
|
| | | arenaFunc.AddListener(ClickArenaFunc);
|
| | | bossFunc.AddListener(ClickBossFunc);
|
| | | m_HazyRegion.AddListener(OpenHazyRegion);
|
| | | }
|
| | |
|
| | | protected override void OnPreOpen()
|
| | |
| | | {
|
| | | CloseSubWindows();
|
| | | WindowCenter.Instance.Open<CrossServerBossWin>();
|
| | | functionOrder = bossFunc.order;
|
| | | }
|
| | |
|
| | | private void ClickArenaFunc()
|
| | | {
|
| | | CloseSubWindows();
|
| | | WindowCenter.Instance.Open<CrossServerOneVsOneWin>();
|
| | | functionOrder = arenaFunc.order;
|
| | | }
|
| | |
|
| | | private void OpenHazyRegion()
|
| | | {
|
| | | CloseSubWindows();
|
| | | WindowCenter.Instance.Open<HazyRegionWin>();
|
| | | functionOrder = m_HazyRegion.order;
|
| | | }
|
| | |
|
| | | private void ClickRight()
|