public void Display(InventoryItemSharedData inventoryItemSharedData, InventoryItemSlotView inventoryItemSlotView)
    {
        this._descriptionTextField.text = inventoryItemSharedData._Description;

        this.rectTransform.anchoredPosition = inventoryItemSlotView._RectTransform.anchoredPosition + this._offset;
    }
Exemple #2
0
 public bool Add(InventoryItemSharedData inventoryItemSharedData, int quantity)
 {
     return(this.Add(new InventoryItem(inventoryItemSharedData.Id, quantity)));
 }
Exemple #3
0
#pragma warning restore 0219, 414

    private void OnEnable()
    {
        this._sInventoryItemSharedData = this.target as InventoryItemSharedData;
    }
Exemple #4
0
 public bool Add(InventoryItemSharedData inventoryItemSharedData)
 {
     return(this.Add(new InventoryItem(inventoryItemSharedData.Id)));
 }