Reorderable List Control for Unity
IElementAdderMenuBuilderTContextAddTypeFilter Method |
Adds a filter function which determines whether types can be included or
whether they need to be excluded.
Namespace: Rotorz.ReorderableList
Assembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)

void AddTypeFilter( Func<Type, bool> typeFilter )
function AddTypeFilter( typeFilter : Func<Type, boolean> )
Parameters
- typeFilter
- Type: SystemFuncType, Boolean
Filter function.

Exception | Condition |
---|---|
ArgumentNullException | If typeFilter is null. |

If a filter function returns a value of false then that type will not be included in the menu interface.
