// Use this for initialization void Start() { aiScript = GetComponent <AIScript> (); aiTurretScript = GameObject.FindGameObjectWithTag("StaticAI1").GetComponent <AITurretScript> (); arrayList = new float[4]; }
// Use this for initialization void Start() { aiTurretScript = GameObject.FindGameObjectWithTag("StaticAI1").GetComponent <AITurretScript> (); }
// Use this for initialization void Start() { range = false; aiTurretScript = GetComponentInParent <AITurretScript> (); }