Skip to main content

Introduction

This component displays information about an Item.

"Item UI"

Fields#

NameDescription
Rarity UIUI displaying rarity details
Category UIUI displaying category details
Allow Drag DropAllow drag & drop
On Count Less Than 2Event raised when item count less than 2
On Count 2 Or MoreEvent raised when item count greater or equal to 2
On Slot LockedEvent raised when ui is for a locked slot
On Slot UnlockedEvent raised when ui is for a normal slot
On Slot Has ItemEvent raised when slot has an item
On Slot Is EmptyEvent raised when slot is empty
On LoadEvent raised when item is loaded
On UpdateEvent raised when item is updated
On DropEvent raised when an item is dropped on this one
Enable Drag DropEnable drag and drop
On SelectedEvent raised when the object is selected
On DeselectedEvent raised when the object is deselected
On Pointer EnterEvent raised when the pointer enters the object area
On Pointer ExitEvent raised when the pointer exits the object area
ImageImage used to display Sprite
ColorizeApply color to image
Preserve AlphaPreserve existing alpha
LabelsList of labels and formats for displaying information
On ClickEvent raised when the item is clicked
On Double ClickEvent raised when the item is double-clicked
On Left ClickEvent raised when the item is left-clicked
On Right ClickEvent raised when the item is right-clicked

Properties#

NameDescription
categoryGets the Item Category of the loaded Item
itemGets the loaded Item
itemContainerContainer holding the item
selectedGets/Sets if the object is selected
infoGets/Sets information about the object

Methods#

NameDescription
LoadLoad data
LoadLockedSlotLoad a locked slot
UnloadUnload item