void StateUpdate_IdlePatrol() { if (HasReachedMyDestination()) { patrolNode = patrolNode.nextNode; navMeshAgent.SetDestination(patrolNode.GetPosition()); } }