public bool NearestDestination(Vector3[] destinations, out int destinationIndex)
 {
     return(m_agent.NearestDestination(destinations, out destinationIndex));
 }