Skip to main content

Introduction

This component provides a DataList dropdown using TextMeshPro

"Data List_Dropdown TMP"

Fields#

NameDescription
On Selection ChangedEvent raised whenever selection changes

Properties#

NameDescription
selectedIndexGets the selected index
selectedKeyGets the selected key

Methods#

NameDescription
AddOptionAdd an option to the list
AddOptionsAdd a list of options
ClearRemove all entries
GetSelectedIndexGet the selected index value
GetSelectedItemGet the selected item text
SetSelectionSet the selection