Skip to main content

Introduction

This component provides the ability to display a list of Classes.

"Class List UIDB"

Fields#

NameDescription
Is Character CreationUse this list for Character Creation and set player class to be selection
SourceDetermine if source is a Direct Reference or in the Tool Registry
KeyKey used to find source
Scroll RectTransform to place prefabs inside
Selected Class UIUI displaying details of the selected Class
FiltersList of filter/sort plugins
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
contentGets the RectTransform used for housing data
contentScrollRectScrollRect housing content (if any)
lockInputGets/Sets if input is locked
activeDisplayGets the currently active display
selectedIndexGets/Sets the selected index

Methods#

NameDescription
AddSortFilterPluginAdd a new Sort/Filter plugin
ClearClear all items
GetSortFilterPluginGet Sort/Filter plugin of type T
ReloadReload the data
CycleViewCycle between available UI Displays
GetSelectedItemGet the selected item of type T
SetSelectedItemSet the selected item of type T