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 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 =)