void OnDestroy()
 {
     PathFinder.UnregisterAgent(this); //remove itself from agents pool
 }