Class UI_Dropdown
Inheritance
object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
UI_Dropdown
Namespace: Global
Assembly: Dew.Core.dll
Syntax
public class UI_Dropdown : MonoBehaviour
Fields
onValueChanged
Declaration
public SafeAction<object> onValueChanged
Field Value
| Type | Description |
|---|---|
| SafeAction<object> |
Properties
index
Declaration
public int index { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
value
Declaration
public object value { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
Methods
AddOption(string, object)
Declaration
public void AddOption(string text, object val)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | |
| object | val |
ClearOptions()
Declaration
public void ClearOptions()
SetValueWithoutNotify(object)
Declaration
public void SetValueWithoutNotify(object val)
Parameters
| Type | Name | Description |
|---|---|---|
| object | val |