for example
class XXX_API ITargetable
{
GENERATED_BODY()
public:
UFUNCTION(BlueprintCallable,BlueprintNativeEvent)
void OnTargeted();
};
if I create a blueprint actor implement the interface, I can’t find the function OnTargeted()
in the Interfaces
section
So I have to change void OnTargeted()
to bool OnTargeted()
now The Blueprint can recognized it now.
Is this a bug?