Version 3.3.1.2

ValueDropdownItem<T> struct

Namespace: Sirenix.OdinInspector
Assembly: Sirenix.OdinInspector.Attributes
public struct ValueDropdownItem<T> : IValueDropdownItem

Type Parameters

T

Constructors

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

The text to display for the dropdown item.

T value

The value for the dropdown item.

Fields

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

Methods

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