コード例 #1
0
 private void Awake()
 {
     this.ai        = base.GetComponent <animalAI>();
     this.animator  = base.GetComponent <Animator>();
     this.avoidance = base.transform.GetComponentInChildren <animalAvoidance>();
     this.Tr        = base.transform;
 }
コード例 #2
0
 private void Awake()
 {
     this.ai = base.GetComponent<animalAI>();
     this.animator = base.GetComponent<Animator>();
     this.avoidance = base.transform.GetComponentInChildren<animalAvoidance>();
     this.Tr = base.transform;
 }
コード例 #3
0
 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;
 }
コード例 #4
0
 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;
 }
コード例 #5
0
 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");
 }
コード例 #6
0
 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");
 }