You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a bug where custom filters do not work when the field hierarchy is deep.
This is necessary if you want to wrap type filtering in a class.
For example, Once this is corrected, it can be defined as follows
[System.Serializable]publicclassSerializeInterface<T>whereT:class{[SerializeField,Pickle(FilterMethodName = nameof(CustomFilter))]Objectobj;publicTInterface{get=> obj as T;set=>obj= value as Object;}privateboolCustomFilter(ObjectTypePairitem){return item.Object is T;}}
There is a bug where custom filters do not work when the field hierarchy is deep.
This is necessary if you want to wrap type filtering in a class.
For example, Once this is corrected, it can be defined as follows
It can be used like this
If you format it using custom property drawers, it will look like this
![image](https://user-images.githubusercontent.com/58556078/216398774-96621909-9bc6-4d5d-b92a-0564788339f7.png)
The text was updated successfully, but these errors were encountered: