Skip to content

Function signature is confused #11

@OneFirefly

Description

@OneFirefly

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions