// Use this for initialization void Start() { Rinv = GameObject.Find("Explore").GetComponent <HeroInventory> (); tooltip = Rinv.GetComponent <Equipment> (); }