Version 3.3.1.2

NamedValues struct

Namespace: Sirenix.OdinInspector.Editor.ActionResolvers
Assembly: Sirenix.OdinInspector.Editor
public struct NamedValues

Properties

Count
public int Count { get; }
Item[Int32]
public NamedValue this[int index] { get; }
Parameters
System.Int32 index

Methods

Add(NamedValue)
public void Add(NamedValue value)
Parameters
NamedValue value

Add(String, Type, NamedValueGetter)
public void Add(string name, Type type, NamedValueGetter valueGetter)
Parameters
System.String name

System.Type type

Sirenix.OdinInspector.Editor.ActionResolvers.NamedValueGetter valueGetter

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

System.Type type

System.Object value

GetValue(String)
public object GetValue(string name)
Parameters
System.String name

Returns
System.Object

GetValueOverviewString()
public string GetValueOverviewString()
Returns
System.String

Set(String, Object)
public void Set(string name, object value)
Parameters
System.String name

System.Object value

TryGetValue(String, out NamedValue)
public bool TryGetValue(string name, out NamedValue value)
Parameters
System.String name

NamedValue value

Returns
System.Boolean

UpdateValues(ref ActionResolverContext, Int32)
public void UpdateValues(ref ActionResolverContext context, int selectionIndex)
Parameters
ActionResolverContext context

System.Int32 selectionIndex