Skip to main content

Introduction

This UI component provides a list of Add-Ons the user may choose from. The number of allowed for selection is controlled by the Plug-in providing the list.

"Add On Choice List UI"

Fields#

NameDescription
Set Time ScaleChange timescale on enable, restores to previous timescale on disable
Time ScaleTimescale to set
Option FormatFormat to apply to option text
Ui PrefabPrefab to create for displaying choice
ContentTransform to place prefabs inside
Auto CloseAutomatically close after required selection(s) made
On Can SubmitEvent fired whenever selection is valid for submit
On Cannot SubmitEvent fired whenever selection is not valid for submit
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
infoInformation about the item

Methods#

NameDescription
CancelCancel selection.
ClearClears the currently loaded list of options.
LoadChoicesLoad a list of choices
ToggleChildSelectToggles whether or not an object has been selected
SubmitFinalize choices, invoke callback, and destroy object.