public void Execute() { owner.ForceMove(attackDir * AttackMoveEasing(time / targetTime) * speed); time += Time.deltaTime; if (time >= targetTime) { isOver = true; } }
public void Execute() { owner.ForceMove(direction * speed); }