private void Start() { bot = gameObject.GetComponentInChildren <Player_detect>(); points = new Transform[3] { point1.transform, point2.transform, point3.transform }; }
void Start() { anim = GetComponentInChildren <Animation>(); bot = gameObject.GetComponentInChildren <Player_detect>(); stats = gameObject.GetComponent <AI_stats>(); }
void Start() { bot = gameObject.GetComponentInChildren <Player_detect>(); stats = gameObject.GetComponent <NetAI_stats>(); }
void Start() { bot = gameObject.GetComponentInChildren <Player_detect>(); stats = gameObject.GetComponent <AI_stats>(); bot_hp = gameObject.GetComponent <HealthPoints>(); }