Class DropdownItem
- Namespace
- Fallencake.UI
- Assembly
- Fallencake.UI.dll
[Serializable]
public class DropdownItem
- Inheritance
-
objectDropdownItem
Fields
Icon
Optional icon for the item.
public Sprite Icon
Field Value
- Sprite
Index
Runtime index assigned by the dropdown when building items.
[HideInInspector]
public int Index
Field Value
- int
Name
Display name of the item.
public string Name
Field Value
- string
OnItemSelected
Invoked when this item is selected.
public UnityEvent OnItemSelected
Field Value
- UnityEvent