Shop Item Element

Scripting with the ShopItemElement class.

The ShopItemElement class is a VisualElement that represents a shop item.

Fields & Properties

Name
Description
Type
Access

itemIconElement

The element that displays the item icon.

VisualElement

public

costIconElement

The element that displays the cost icon.

VisualElement

public

dimensionsLabel

The label that displays the item dimensions.

Label

public

nameLabel

The label that displays the item name.

Label

public

itemTypeLabel

The label that displays the item type.

Label

public

costLabel

The label that display the cost.

Label

public

shopkeeper

The shopkeeper reference.

Shopkeeper

public

item

The item.

Item

public

Last updated