Version 2.1.0.0

UnityObjectPropertyResolver<T> class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public class UnityObjectPropertyResolver<T> : OdinPropertyResolver<T>, IMaySupportPrefabModifications where T : Object
Inheritance

Type Parameters

T

Constructors

UnityObjectPropertyResolver()
public UnityObjectPropertyResolver()

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

Returns
System.Int32

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