Version 2.1.0.0

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

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.