| | |
| | | |
| | | |
| | | //暂停的原因有很多,需要检查各种状态 |
| | | bool CanResumeGame() |
| | | protected virtual bool CanResumeGame() |
| | | { |
| | | if (NewBieCenter.Instance.IsPauseStoryBattleState()) |
| | | { |
| | | return false; |
| | | } |
| | | |
| | | if (UIManager.Instance.IsOpened<EquipExchangeWin>()) |
| | | { |
| | | return false; |
| | | } |
| | | |
| | | return true; |
| | | } |
| | | |
| | |
| | | { |
| | | battleRootNode.imgBackground.rectTransform.anchoredPosition = battleRootNode.bgPos1.anchoredPosition; |
| | | battleRootNode.battleNode.anchoredPosition = battleRootNode.battleNodePos1.anchoredPosition; |
| | | } |
| | | |
| | | |
| | | //暂停的原因有很多,需要检查各种状态 |
| | | protected override bool CanResumeGame() |
| | | { |
| | | if (NewBieCenter.Instance.IsPauseStoryBattleState()) |
| | | { |
| | | return false; |
| | | } |
| | | |
| | | if (UIManager.Instance.IsOpened<EquipExchangeWin>()) |
| | | { |
| | | return false; |
| | | } |
| | | |
| | | return true; |
| | | } |
| | | } |