void Start() { //MyStore = GameObject.Find ("Store"); MyInv = GameObject.Find("Inventory"); Tooltip = GameObject.Find("Store").GetComponent <StoreToolTip>(); MyInvScript = MyInv.GetComponent <inventoryInStore> (); Myitem_Database = GameObject.Find("Store").GetComponent <Item_Database>(); }
void Start() { Tooltip = GameObject.Find("Store").GetComponent <StoreToolTip>(); LongPressed = false; }