New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Function signature is confused #11
Comments
I'm not sure that SC supports generic methods at all. It's designed to show only |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: