Skip to main content

Introduction

This component displays information about Recipe Components

"Recipe Component UI"

Fields#

NameDescription
Rarity UIUI showing rarity details
Category UIUI showing category details
On Count AvailableEvent raised when the required count is available in the Inventory
On Count Not AvailableEvent raised when the required count is not available in the Inventory
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 loaded Item Category
componentGets the loaded Crafting Item entry
componentSourceGets the associated Inventory
countAvailableGets the number of this component available in the Inventory
countNeededGets if the required number of this component is available in the Inventory
itemGets the loaded item
selectedGets/Sets if the object is selected
infoGets/Sets information about the object

Methods#

NameDescription
LoadLoad data