Version 3.3.1.2

NamedValue struct

Namespace: Sirenix.OdinInspector.Editor.ValueResolvers
Assembly: Sirenix.OdinInspector.Editor
public struct NamedValue

Constructors

NamedValue(String, Type)
public NamedValue(string name, Type type)
Parameters
System.String name

System.Type type

NamedValue(String, Type, ValueResolverFunc<Object>)
public NamedValue(string name, Type type, ValueResolverFunc<object> valueGetter)
Parameters
System.String name

System.Type type

Sirenix.OdinInspector.Editor.ValueResolvers.ValueResolverFunc<System.Object> valueGetter

NamedValue(String, Type, Object)
public NamedValue(string name, Type type, object value)
Parameters
System.String name

System.Type type

System.Object value

Fields

CurrentValue
public object CurrentValue
Name
public string Name
Type
public Type Type
ValueGetter
public ValueResolverFunc<object> ValueGetter

Methods

Update(ref ValueResolverContext, Int32)
public void Update(ref ValueResolverContext context, int selectionIndex)
Parameters
ValueResolverContext context

System.Int32 selectionIndex