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