Exemple #1
0
 public void MoveToPosition(Vector3 point)
 {
     moveService.MoveTo(point);
     actionScheduler.SetCurrentAction(this);
 }
Exemple #2
0
 public void Attack(GameObject combatTarget)
 {
     target = combatTarget.GetComponent <Health>();
     actionScheduler.SetCurrentAction(this);
 }