Namespace: | Sirenix.OdinInspector.Editor |
Assembly: | Sirenix.OdinInspector.Editor |
[ResolverPriority(-4.9)]
public class WeakListPropertyResolver<TList> : BaseOrderedCollectionResolver<TList>, IOrderedCollectionResolver, ICollectionResolver, IApplyableResolver, IRefreshableResolver, IMaySupportPrefabModifications where TList : IList
public WeakListPropertyResolver()
public override Type ElementType { get; }
public bool MaySupportPrefabModifications { get; }
protected override void Add(TList collection, object value)
TList | collection | |
System.Object | value |
public override int ChildNameToIndex(ref StringSlice name)
StringSlice | name |
System.Int32 |
public override int ChildNameToIndex(string name)
System.String | name |
System.Int32 |
public override bool ChildPropertyRequiresRefresh(int index, InspectorPropertyInfo info)
System.Int32 | index | |
InspectorPropertyInfo | info |
System.Boolean |
protected override void Clear(TList collection)
TList | collection |
protected override bool CollectionIsReadOnly(TList collection)
TList | collection |
System.Boolean |
protected override int GetChildCount(TList value)
TList | value |
System.Int32 |
public override InspectorPropertyInfo GetChildInfo(int childIndex)
System.Int32 | childIndex |
InspectorPropertyInfo |
protected override void InsertAt(TList collection, int index, object value)
TList | collection | |
System.Int32 | index | |
System.Object | value |
protected override void Remove(TList collection, object value)
TList | collection | |
System.Object | value |
protected override void RemoveAt(TList collection, int index)
TList | collection | |
System.Int32 | index |