Hi, everyone! I have a problem here…
I want to create BlueprintNativeEvent in my UActorComponent. My plan is like that → I add UActorComponent to some Actors, and if they have this component, Event would work when I apply to Actor through the other C++Class.
I create simple code:
UFUNCTION(BlueprintNativeEvent, Category = MyEvent)
void SimpleEvent(AActor* Caller);
But I cant find it in event graph.
It is interesting, when I create that:
UFUNCTION(BlueprintCallable, Category = MyEvent)
void SimpleEvent(AActor* Caller);
I can find SimpleEvent, but it was a function… So I can create function in UActorComponent for Blueprint, but cant create a BlueprintNativeEvent?
And also when I create BlueprintNativeEvent in AActor, that works, I can find my event in graph.
