Namespace: | Sirenix.OdinInspector.Editor.Drawers |
Assembly: | Sirenix.OdinInspector.Editor |
public class MultiCollectionFilter<TResolver> : IDisposable where TResolver : ICollectionResolver
public MultiCollectionFilter(InspectorProperty property, TResolver resolver)
InspectorProperty | property | |
TResolver | resolver |
public PropertySearchFilter Filter
public readonly bool IsUsed
public bool IsFiltered { get; }
public InspectorProperty this[int index] { get; }
System.Int32 | index |
public void Dispose()
public void Draw()
public void Draw(Rect rect)
UnityEngine.Rect | rect |
public int GetCollectionIndex(int index)
System.Int32 | index | The index to find. |
System.Int32 | The index in the collection of the filtered item, or the passed index if the collection is not IsFiltered. |
MultiCollectionFilter.IndexNotFoundException<> | This is thrown if it's unable to find the index in the original collection, this indicates a discrepancy between the filtered collection and the original collection. |
public int GetCount()
System.Int32 |
public void ScheduleUpdate()
public void Update()