| | |
| | | [SerializeField] Text multiFightText; |
| | | |
| | | [SerializeField] Transform gameTip; //10连 |
| | | [SerializeField] Transform mgTip; |
| | | |
| | | bool isForcePlayFightUIAnim = true; //强制播放战斗锤子框动画 |
| | | |
| | |
| | | EventBroadcast.Instance.AddListener<string>(EventName.BATTLE_START, OnBattleStart); |
| | | base.OnPreOpen(); |
| | | |
| | | mgTip.SetActive(false); |
| | | // 刷新UI |
| | | Display(); |
| | | } |
| | |
| | | GlobalTimeEvent.Instance.fiveSecondEvent -= OnFiveSecondEvent; |
| | | } |
| | | } |
| | | |
| | | mgTip.SetActive(MinggeManager.Instance.isPauseAuto); |
| | | } |
| | | |
| | | void DisplayTopBar() |
| | |
| | | { |
| | | multiFightText.text = Language.Get("MultiFight", AutoFightModel.Instance.fightCost); |
| | | } |
| | | if (_ui.name == "MinggeWin") |
| | | { |
| | | mgTip.SetActive(false); |
| | | } |
| | | } |
| | | |
| | | //战斗按钮动画 |