| | |
| | | [SerializeField] Text titleText;
|
| | |
|
| | |
|
| | | protected override void OpenSubUIByTabIndex()
|
| | | protected override async void OpenSubUIByTabIndex()
|
| | | {
|
| | | switch (functionOrder)
|
| | | {
|
| | | case 0:
|
| | | //日常任务
|
| | | UIManager.Instance.OpenWindowAsync<DayMissionWin>().ContinueWith(w => currentSubUI = w).Forget();
|
| | | currentSubUI = await UIManager.Instance.OpenWindowAsync<DayMissionWin>();
|
| | | titleText.text = Language.Get("DayMission2");
|
| | | break;
|
| | | case 1:
|
| | | //周奖励
|
| | | UIManager.Instance.OpenWindowAsync<WeekBattlePassWin>().ContinueWith(w => currentSubUI = w).Forget();
|
| | | currentSubUI = await UIManager.Instance.OpenWindowAsync<WeekBattlePassWin>();
|
| | | titleText.text = Language.Get("DayMission3");
|
| | | break;
|
| | | case 2:
|
| | | //主线任务(英雄之路)
|
| | | UIManager.Instance.OpenWindowAsync<MissionHeroRoadWin>().ContinueWith(w => currentSubUI = w).Forget();
|
| | | currentSubUI = await UIManager.Instance.OpenWindowAsync<MissionHeroRoadWin>();
|
| | | titleText.text = Language.Get("DayMission4");
|
| | | break;
|
| | | default:
|