Example #1
0
 void SetDestination()
 {
     navMeshAgent.SetDestination(navMeshSurface.transform.position + (Vector3.forward * Random.Range(-4f, 4f)) + (Vector3.right * Random.Range(-4f, 4f)));
     animatorScript.IsMoving();
 }