Skip to main content

Introduction

This component provides a base class for all UI lists the use UI Displays

"UI List Source"

Fields#

NameDescription
On Active Display ChangedEvent raised when the active display UI changes
On Selection ChangedEvent raised when selection changes
On Item AddedEvent raised when an item is loaded by the active display
On Item RemovedEvent raised when an item is removed by the active display
On Item ClickEvent raised when the item is clicked
On Item Double ClickEvent raised when the item is double-clicked
On DropEvent raised when an item is dropped on this one

Properties#

NameDescription
activeDisplayGets the currently active display
contentGets the RectTransform used for housing data
contentScrollRectScrollRect housing content (if any)
selectedIndexGets/Sets the selected index

Methods#

NameDescription
CycleViewCycle between available UI Displays
GetSelectedItemGet the selected item of type T
ReloadReload the data
SetSelectedItemSet the selected item of type T