Deriving a class like
public class ColliderCallback : SerializableCallback<Collider, bool> {}
and exposing it the proper way: public ColliderCallback colliderCallback;
will make it fail to show a function like
bool CallThis<Collider>() { .. }
in the list of available functions in the inspector.
Instead it will show a function
bool CallThat<bool>() { .. }
(if declared).
The included package should be loaded in a new Unity project
SerializableCallback_bug_reproduction.zip
Deriving a class like
public class ColliderCallback : SerializableCallback<Collider, bool> {}and exposing it the proper way:
public ColliderCallback colliderCallback;will make it fail to show a function like
bool CallThis<Collider>() { .. }in the list of available functions in the inspector.
Instead it will show a function
bool
CallThat<bool>() { .. }(if declared).
The included package should be loaded in a new Unity project
SerializableCallback_bug_reproduction.zip