public void ResetUI() { Icon.sprite = DefaultImage; QuantityText.text = "0"; QuantityTextGO.SetActive(false); WornBarGO.SetActive(false); TheCanvasGroup.interactable = false; TheCanvasGroup.blocksRaycasts = false; }
public void UpdateQuantity() { if (Item == null) { QuantityText.text = "0"; QuantityTextGO.SetActive(false); } else { QuantityText.text = Item.Data.Quantity.ToString(); QuantityTextGO.SetActive(true); } }
public void UpdateQuantity() { if (Item == null) { QuantityText.text = "0"; QuantityTextGO.SetActive(false); } else { QuantityText.text = (Item.BaseData as IStackableData).Quantity.ToString(); QuantityTextGO.SetActive(true); } }