| | |
| | | |
| | | foreach (var obj in blueTeam) |
| | | { |
| | | obj.heroGo.SetActive(true); |
| | | obj.motionBase.PlayAnimation(MotionName.run, true); |
| | | RectTransform trans = obj.heroRectTrans; |
| | | obj.SetActive(true); |
| | | obj.PlayAnimation(MotionName.run, true); |
| | | RectTransform trans = obj.GetRectTransform(); |
| | | trans.anchoredPosition = new Vector2(-800, 0); |
| | | tween = trans.DOAnchorPos(Vector2.zero, 1f).SetEase(Ease.Linear); |
| | | battleTweenMgr.OnPlayTween(tween); |
| | |
| | | { |
| | | foreach (var obj in blueTeam) |
| | | { |
| | | obj.motionBase.PlayAnimation(MotionName.idle, true); |
| | | obj.PlayAnimation(MotionName.idle, true); |
| | | } |
| | | |
| | | // 播放战斗开始的特效 |