Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void RefreshQuantity()
- {
- if (quantityText == null) return;
- NewMethod();
- }
- private void NewMethod()
- {
- quantityText.text = (currentItem.quantity <= 0) ? "" : currentItem.quantity.ToString();
- }
- #endregion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement