void Awake() { perceptionManager = GameObject.FindGameObjectWithTag(Tags.GameController).GetComponent <PerceptionManager>(); agentFilter = HOSTILE; envelopes = new List <Envelope>(); response = TResponses.DoNothing; target = null; brain = this.gameObject.GetComponent <StateDrivenBrain>(); }
void Awake() { perceptionManager = GameObject.Find("wolf_02").GetComponent <PerceptionManager>(); agentStatusFilter = RABBIT; }