Skip to main content

Introduction

This UI component displays a single Add-On Choice for the user and can be use for either a ISelectableOption or a AddOnPluginChoice.

"Add On Choice UI"

Fields#

NameDescription
Click To SelectAllow item to be selected via pointer click
On SelectedEvent fired when item is selected
On DeselectedEvent fired when item is loses selection
ImageImage used to display Sprite
ColorizeApply color to image
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

Properties#

NameDescription
optionReturns the Selectable Option if one is set
pluginOptionListReturns the active Add-On Plugin Choice if one is set
selectedGet/Set selected state
infoInformation about the item

Methods#

NameDescription
LoadChoiceLoad data for an ISelectableOption
RequestSelectionAsk owner to toggle selection for this object.