private void Awake() { animator = GetComponent <AnimatorDriverAnimal>(); navAgent = GetComponent <NavMeshAgent>(); audioSource = GetComponent <AudioSource>(); startLookAtTime = float.MaxValue; sniffTimeEnd = float.MinValue; shouldFollow = true; }