Version 2.1.0.0

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(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()

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.