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