Version 3.3.1.2

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