private void OnSettleEnter() { ScenePropMrg.Instance.RemoveAll(); TimerManager.Instance.FinishTimers(); VirusGameDataAdapter.AddLevel(); float y = 15f - _virusPlayer.transform.localPosition.y; _virusPlayer.SetPlayerState(false, false); _virusPlayer.Invincible = true; Sequence sq = DOTween.Sequence(); sq.Append(_virusPlayer.transform.DOMoveY(15f, y / 15f)); sq.AppendInterval(1.0f); sq.AppendCallback(() => { _uiMrg.MainPanel.UnActive(); }); sq.AppendInterval(1.0f); sq.AppendCallback(() => { VirusSoundMrg.Instance.PlaySound(VirusSoundType.Clear); _uiMrg.SettlePanel.Active(); //_uiMrg.SettlePanel.SetCoinText(VirusGameDataAdapter.GetCurLevelCoin()); _uiMrg.CoinPanel.Active(); }); sq.AppendInterval(0.5f); sq.AppendCallback(() => { _isSettle = true; }); _isClickSpace = false; }