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
The method drop down in the inspector panel does not consider methods with return types that are sub-types of the SerializableCallback class type argument.
Suggest changing line 172 of SerializableCallbackDrawer to the following:
// accept return type and sub-types of return type if (returnType != null && method.ReturnType != returnType && !method.ReturnType.IsSubclassOf(returnType)) continue;
There may be other areas in the project that can also benefit from such logic.
Nice job on the project though, this has solved my problem very well =)
The text was updated successfully, but these errors were encountered:
The method drop down in the inspector panel does not consider methods with return types that are sub-types of the SerializableCallback class type argument.
Suggest changing line 172 of SerializableCallbackDrawer to the following:
// accept return type and sub-types of return type
if (returnType != null && method.ReturnType != returnType && !method.ReturnType.IsSubclassOf(returnType)) continue;
There may be other areas in the project that can also benefit from such logic.
Nice job on the project though, this has solved my problem very well =)
The text was updated successfully, but these errors were encountered: