Version 3.3.0.1

ValueDropdownItem struct

Namespace: Sirenix.OdinInspector
Assembly: Sirenix.OdinInspector.Attributes
public struct ValueDropdownItem : IValueDropdownItem

Constructors

ValueDropdownItem(String, Object)
Initializes a new instance of the ValueDropdownItem<T> class.
public ValueDropdownItem(string text, object value)
Parameters
System.String text

The text to display for the dropdown item.

System.Object value

The value for the dropdown item.

Fields

Text
The name of the item.
public string Text
Value
The value of the item.
public object Value

Methods

ToString()
The name of this item.
public override string ToString()
Returns
System.String