| Namespace: | Sirenix.OdinInspector.Editor |
| Assembly: | Sirenix.OdinInspector.Editor |
public abstract class OdinPropertyResolver
protected OdinPropertyResolver()
public int ChildCount { get; }
public bool HasChildCountConflict { get; protected set; }
public virtual bool IsCollection { get; }
public int MaxChildCountSeen { get; protected set; }
public InspectorProperty Property { get; }
public virtual Type ResolverForType { get; }
protected abstract int CalculateChildCount()
| System.Int32 |
public virtual bool CanResolveForPropertyFilter(InspectorProperty property)
| InspectorProperty | property |
| System.Boolean |
public virtual int ChildNameToIndex(ref StringSlice name)
| StringSlice | name |
| System.Int32 |
public abstract int ChildNameToIndex(string name)
| System.String | name |
| System.Int32 |
public static OdinPropertyResolver Create(Type resolverType, InspectorProperty property)
| System.Type | resolverType | |
| InspectorProperty | property |
| OdinPropertyResolver |
public static T Create<T>(InspectorProperty property)
where T : OdinPropertyResolver, new()
| InspectorProperty | property |
| T |
| T |
public void ForceUpdateChildCount()
public abstract InspectorPropertyInfo GetChildInfo(int childIndex)
| System.Int32 | childIndex |
| InspectorPropertyInfo |
protected virtual void Initialize()