I want a custom component (derived from UStaticMeshComponent) to have an event it can trigger.
For that I declare a delegate
and use it in my class
UPROPERTY(BlueprintAssignable, Category = "Trigger") FOnTriggerDelegateC OnTrigger;
When instantiating this class in my Actor-Blueprint I can Bind stuff to this event, but I don’t find the event-node itself (which should fire when this event is broadcasted from C++).
To the contrary, if I do the same thing in an actor class and try to do the same thing in the level-blueprint it shows up and works as expected.
Why won’t it work with my custom component inside my Actor-blueprint ? I don’t get it ? Is it a missing feature or do I do something wrong here ?