| | |
| | | protected override void OnActived()
|
| | | {
|
| | |
|
| | | |
| | |
|
| | | }
|
| | | protected override void OnAfterOpen()
|
| | | {
|
| | | |
| | |
|
| | | }
|
| | |
|
| | | protected override void OnPreClose()
|
| | |
| | | UpdateScore();
|
| | | UpdateRank();
|
| | | UpdateHonor();
|
| | | switch(funcId)
|
| | | switch (funcId)
|
| | | {
|
| | | case 0:
|
| | | case 1:
|
| | |
| | | {
|
| | | if (honorStore_SelectImg.activeInHierarchy) return;
|
| | | CloseSubWindows();
|
| | | if (crossServerWin.windowState == WindowState.Opened)
|
| | | {
|
| | | WindowCenter.Instance.OpenWithoutAnimation<CrossServerOneVsOneHonorStoreWin>();
|
| | | }
|
| | | else
|
| | | {
|
| | | WindowCenter.Instance.Open<CrossServerOneVsOneHonorStoreWin>();
|
| | | }
|
| | | WindowCenter.Instance.Open<CrossServerOneVsOneHonorStoreWin>();
|
| | | honorStore_SelectImg.SetActive(true);
|
| | | }
|
| | |
|
| | |
| | | if (seasonAward_SelectImg.activeInHierarchy) return;
|
| | |
|
| | | CloseSubWindows();
|
| | | if (crossServerWin.windowState == WindowState.Opened)
|
| | | {
|
| | | WindowCenter.Instance.OpenWithoutAnimation<SeasonRewardWin>();
|
| | | }
|
| | | else
|
| | | {
|
| | | WindowCenter.Instance.Open<SeasonRewardWin>();
|
| | | }
|
| | | WindowCenter.Instance.Open<SeasonRewardWin>();
|
| | | seasonAward_SelectImg.SetActive(true);
|
| | |
|
| | | }
|
| | |
| | | if (arena_SelectImg.activeInHierarchy) return;
|
| | |
|
| | | CloseSubWindows();
|
| | | if (crossServerWin.windowState == WindowState.Opened)
|
| | | {
|
| | | WindowCenter.Instance.OpenWithoutAnimation<CrossServerOneVsOneArenaWin>();
|
| | | }
|
| | | else
|
| | | {
|
| | | WindowCenter.Instance.Open<CrossServerOneVsOneArenaWin>();
|
| | | }
|
| | | WindowCenter.Instance.Open<CrossServerOneVsOneArenaWin>();
|
| | | arena_SelectImg.SetActive(true);
|
| | | }
|
| | |
|
| | |
| | | if (rankAward_SelectImg.activeInHierarchy) return;
|
| | |
|
| | | CloseSubWindows();
|
| | | if (crossServerWin.windowState == WindowState.Opened)
|
| | | {
|
| | | WindowCenter.Instance.OpenWithoutAnimation<SegmentRewardWin>();
|
| | | }
|
| | | else
|
| | | {
|
| | | WindowCenter.Instance.Open<SegmentRewardWin>();
|
| | | }
|
| | | WindowCenter.Instance.Open<SegmentRewardWin>();
|
| | | rankAward_SelectImg.SetActive(true);
|
| | | }
|
| | |
|