Version 2.1.0.0

GenericSelectorItem<T> struct

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public struct GenericSelectorItem<T>
Used in GenericSelector<T> to associate name to a value in the GenericSelector.

Type Parameters

T

Constructors

GenericSelectorItem(String, T)
Initializes a new instance of the GenericSelectorItem<T> struct.
public GenericSelectorItem(string name, T value)
Parameters
System.String name

T value

Fields

Name
The name.
public string Name
Value
The value.
public T Value

Methods

GetNiceName()
If the
public string GetNiceName()
Returns
System.String

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.