Example #1
0
 private void OnTargetLocationChanged(object sender, TargetChangedArg e)
 {
     // Debug.Log($"New target location: {e.Location}");
     _navMeshAgent.SetDestination(e.Location);
 }
Example #2
0
 private void OnTargetCommandChanged(object sender, TargetChangedArg e)
 {
     _target = e.Target;
 }