コード例 #1
0
 private void Start()
 {
     bot    = gameObject.GetComponentInChildren <Player_detect>();
     points = new Transform[3] {
         point1.transform, point2.transform, point3.transform
     };
 }
コード例 #2
0
 void Start()
 {
     anim  = GetComponentInChildren <Animation>();
     bot   = gameObject.GetComponentInChildren <Player_detect>();
     stats = gameObject.GetComponent <AI_stats>();
 }
コード例 #3
0
 void Start()
 {
     bot   = gameObject.GetComponentInChildren <Player_detect>();
     stats = gameObject.GetComponent <NetAI_stats>();
 }
コード例 #4
0
 void Start()
 {
     bot    = gameObject.GetComponentInChildren <Player_detect>();
     stats  = gameObject.GetComponent <AI_stats>();
     bot_hp = gameObject.GetComponent <HealthPoints>();
 }