private void Awake() { this.ai = base.GetComponent <animalAI>(); this.animator = base.GetComponent <Animator>(); this.avoidance = base.transform.GetComponentInChildren <animalAvoidance>(); this.Tr = base.transform; }
private void Awake() { this.ai = base.GetComponent<animalAI>(); this.animator = base.GetComponent<Animator>(); this.avoidance = base.transform.GetComponentInChildren<animalAvoidance>(); this.Tr = base.transform; }
private void Awake() { this.ai = base.transform.parent.GetComponent <animalAI>(); this.avoidance = base.GetComponentInChildren <animalAvoidance>(); this.animator = base.GetComponent <Animator>(); this.waterChecker = base.GetComponentInChildren <inWaterChecker>(); this.Tr = base.transform.parent; this.rotateTr = base.transform; }
private void Awake() { this.ai = base.transform.parent.GetComponent<animalAI>(); this.avoidance = base.GetComponentInChildren<animalAvoidance>(); this.animator = base.GetComponent<Animator>(); this.waterChecker = base.GetComponentInChildren<inWaterChecker>(); this.Tr = base.transform.parent; this.rotateTr = base.transform; }
private void Awake() { this.ai = base.transform.parent.GetComponent <animalAI>(); this.animator = base.GetComponent <Animator>(); this.avoidance = base.transform.GetComponentInChildren <animalAvoidance>(); this.Tr = base.transform.parent; this.rotateTr = base.transform; this.runHash = Animator.StringToHash("run"); this.idleHash = Animator.StringToHash("idle"); }
private void Awake() { this.ai = base.transform.parent.GetComponent<animalAI>(); this.animator = base.GetComponent<Animator>(); this.avoidance = base.transform.GetComponentInChildren<animalAvoidance>(); this.Tr = base.transform.parent; this.rotateTr = base.transform; this.runHash = Animator.StringToHash("run"); this.idleHash = Animator.StringToHash("idle"); }