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