Version 3.3.1.2

AtomAndEnumPropertyResolver<TValue> class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
[ResolverPriority(1000)]
public class AtomAndEnumPropertyResolver<TValue> : OdinPropertyResolver<TValue>, IMaySupportPrefabModifications
Inheritance

Type Parameters

TValue

Constructors

AtomAndEnumPropertyResolver()
public AtomAndEnumPropertyResolver()

Properties

MaySupportPrefabModifications
public bool MaySupportPrefabModifications { get; }

Methods

CanResolveForPropertyFilter(InspectorProperty)
public override bool CanResolveForPropertyFilter(InspectorProperty property)
Parameters
InspectorProperty property

Returns
System.Boolean

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(TValue)
protected override int GetChildCount(TValue value)
Parameters
TValue value

Returns
System.Int32

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