TradeUI

Shop UI & Crafting UI are TradeUIs, they both inherit from Trade UI as they share similarities to avoid extra code.


  • closeButton: On pressing this button, trade UI will be closed. This action is assigned automatically and requires no extra set-up.

  • buttonsParent: All buttons will be spawned under buttonsParent, generally as a Grid or Horizontal/Vertical Layout

  • selectedItemInformation: Object that contains iconImage & nameText. This object is enabled on hovering a valid button.

  • iconImage: Displays Icon for the highlighed Item

  • nameText: Displays Name for the highlighed Item

  • coinsText: Displays Current Currency

Last updated