So i have this nice piece of code
UINTERFACE()
class INTERFACETEST_API UIUsable : public UInterface
{
GENERATED_UINTERFACE_BODY()
};
class IIUsable
{
GENERATED_IINTERFACE_BODY()
public:
UFUNCTION(BlueprintNativeEvent)
void Interact(AActor* ActorInteracting);
};
And i want to implement it in the blueprints so i can have quick ability to make objects interactable but i dont seem to be able to do it, i seem to be only able to call the method but i cant implement it in blueprint.
This is the result that i want to achieve somehow: