Version 3.3.0.1

EditableKeyValuePairResolver<TKey, TValue> class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
[ResolverPriority(-1)]
public class EditableKeyValuePairResolver<TKey, TValue> : OdinPropertyResolver<EditableKeyValuePair<TKey, TValue>>, IHasSpecialPropertyPaths, IMaySupportPrefabModifications
Inheritance

Type Parameters

TKey

TValue

Constructors

EditableKeyValuePairResolver()
public EditableKeyValuePairResolver()

Properties

MaySupportPrefabModifications
public bool MaySupportPrefabModifications { get; }

Methods

ChildNameToIndex(ref StringSlice)
public override int ChildNameToIndex(ref StringSlice name)
Parameters
StringSlice name

Returns
System.Int32

ChildNameToIndex(String)
public override int ChildNameToIndex(string name)
Parameters
System.String name

Returns
System.Int32

GetChildCount(EditableKeyValuePair<TKey, TValue>)
protected override int GetChildCount(EditableKeyValuePair<TKey, TValue> value)
Parameters
EditableKeyValuePair<TKey, TValue> value

Returns
System.Int32

GetChildInfo(Int32)
public override InspectorPropertyInfo GetChildInfo(int childIndex)
Parameters
System.Int32 childIndex

GetSpecialChildPath(Int32)
public string GetSpecialChildPath(int childIndex)
Parameters
System.Int32 childIndex

Returns
System.String

Initialize()
protected override void Initialize()