| | |
| | | private void OnTalentFunc()
|
| | | {
|
| | | CloseChild();
|
| | | functionOrder = 2;
|
| | | if (windowState == WindowState.Opened)
|
| | | {
|
| | | WindowCenter.Instance.OpenWithoutAnimation<TalentWin>();
|
| | | }
|
| | | else
|
| | | {
|
| | | WindowCenter.Instance.Open<TalentWin>();
|
| | | }
|
| | | }
|
| | |
|
| | | private void OnAccordFunc()
|
| | |
| | | protected override void OnActived()
|
| | | {
|
| | | base.OnActived();
|
| | | functionButtonTalent.state = TitleBtnState.Locked;
|
| | | //functionButtonTalent.state = TitleBtnState.Locked;
|
| | |
|
| | | if (functionOrder == 0 && model.jumpToPass)
|
| | | {
|
| | |
| | |
|
| | | void CloseChild()
|
| | | {
|
| | | if (WindowCenter.Instance.CheckOpen<SkillAccordWin>()) {
|
| | | if (WindowCenter.Instance.IsOpen<SkillAccordWin>()) {
|
| | | WindowCenter.Instance.CloseImmediately<SkillAccordWin>();
|
| | | }
|
| | | if (WindowCenter.Instance.CheckOpen<SkillPassWin>()) {
|
| | | if (WindowCenter.Instance.IsOpen<SkillPassWin>()) {
|
| | | WindowCenter.Instance.CloseImmediately<SkillPassWin>();
|
| | | }
|
| | | if (WindowCenter.Instance.IsOpen<TalentWin>())
|
| | | {
|
| | | WindowCenter.Instance.CloseImmediately<TalentWin>();
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|