public void Display(InventoryItemSharedData inventoryItemSharedData, InventoryItemSlotView inventoryItemSlotView) { this._descriptionTextField.text = inventoryItemSharedData._Description; this.rectTransform.anchoredPosition = inventoryItemSlotView._RectTransform.anchoredPosition + this._offset; }
public bool Add(InventoryItemSharedData inventoryItemSharedData, int quantity) { return(this.Add(new InventoryItem(inventoryItemSharedData.Id, quantity))); }
#pragma warning restore 0219, 414 private void OnEnable() { this._sInventoryItemSharedData = this.target as InventoryItemSharedData; }
public bool Add(InventoryItemSharedData inventoryItemSharedData) { return(this.Add(new InventoryItem(inventoryItemSharedData.Id))); }