コード例 #1
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;
 }
コード例 #2
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;
 }