Version 2.1.0.0

IValueDropdownItem interface

Namespace: Sirenix.OdinInspector
Assembly: Sirenix.OdinInspector.Attributes
public interface IValueDropdownItem

Methods

GetText()
Gets the label for the dropdown item.
string GetText()
Returns
System.String

The label text for the item.

GetValue()
Gets the value of the dropdown item.
object GetValue()
Returns
System.Object

The value for the item.

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.