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
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).
I'm not sure that SC supports generic methods at all. It's designed to show only bool Method(Collider collider) as dynamic, and bool Method() as static.
Ill check for options but I can't make any promises.
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
The text was updated successfully, but these errors were encountered: