//private UnityEngine.UI.Image bulletOvImage; //private UnityEngine.UI.Image missileOvImage; //private UnityEngine.UI.Image itemOvImage; // Use this for initialization void Start() { weapons = this.GetComponent <FiringWeapons>(); //bulletOvImage = GameObject.Find("BulletOverlay").GetComponent<UnityEngine.UI.Image>(); //missileOvImage = GameObject.Find("MissileOverlay").GetComponent<UnityEngine.UI.Image>(); //itemOvImage = GameObject.Find("ItemOverlay").GetComponent<UnityEngine.UI.Image>(); }
// Use this for initialization void Start() { players = GameObject.FindGameObjectsWithTag("Player"); weapons = this.turretWeapon.GetComponent <FiringWeapons>(); }
// Use this for initialization void Start () { players = GameObject.FindGameObjectsWithTag("Player"); weapons = this.turretWeapon.GetComponent<FiringWeapons>(); }