// Use this for initialization void Start() { inventory = GameObject.FindGameObjectWithTag("Inventory").GetComponent <Inventory> (); gearDisplay = GameObject.FindGameObjectWithTag("GearDisplay").GetComponent <GearDisplay>(); }
// Use this for initialization void Start() { inventory = GameObject.FindGameObjectWithTag ("Inventory").GetComponent<Inventory> (); gearDisplay = GameObject.FindGameObjectWithTag ("GearDisplay").GetComponent<GearDisplay>(); }