void Start ()
{
AIBehaviors ai = GetComponent<AIBehaviors>();
ai.externalMove = OnNewDestination;
navMeshPath = new NavMeshPath();
if ( mecanimAnimator == null )
{
mecanimAnimator = GetComponentInChildren<Animator>();
}
mecanimTransform = ai.aiTransform;
}