public void UpdateFoodPosition()
 {
     if (nPC.foodThatIsFound != null)
     {
         nPC.agent.destination = nPC.NavMeshLocation(nPC.foodThatIsFound.transform.position);
         nPC.animator.SetBool("Walk", true);
     }
     else
     {
         SendEvent("NOFOOD");
     }
 }
 public void UpdatePlayerPosition()
 {
     playerFront           = nPC.player.transform.GetChild(3).transform.position;
     nPC.agent.destination = nPC.NavMeshLocation(playerFront);
 }