void OnMouseDown() { if (_hasItem) { _windowChar.currentItemSelected = _item; _boxItem.showItemDetail(this.gameObject); } _diff.GetComponent <ListItensController>().OnMouseDown(); }
void OnMouseDown() { if (_hasItem) { Debug.Log("Item clicked"); _windowChar.currentItemSelected = _item; _boxItem.showItemDetail(this.gameObject); } _windowChar.slotSelected = this.gameObject; _windowChar.itemNumSelected = itemNum; _windowChar.itemSelected = _itemTypeSlot; _windowChar.equipmentSelected = _equipTypeSlot; }