Main/System/Battle/BattleField/RecordActions/TestAction.cs
@@ -51,7 +51,7 @@ BattleObject caster = battleField.battleObjMgr.GetBattleObjectByIndex(BattleCamp.Red, selfIndex); BattleDebug.LogError("Move to target , target is " + target.name); caster.motionBase.PlayAnimation(MotionName.run, true); var tweener = BattleUtility.MoveToTarget(caster.heroRectTrans, target, offset, duration, () => var tweener = BattleUtility.MoveToTarget(caster.heroRectTrans, target, offset, () => { caster.motionBase.PlayAnimation(MotionName.idle, true); onComplete?.Invoke();