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

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.