I’m writting some code in a class that inherits from ActorComponent. The idea is to make a helper. I’ve a some public function which are BlueprintCallable or BlueprintPure, but I can’t access them from my blueprint. This is my code:
UCLASS(ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
class TESTUE_API UVRHelper : public UActorComponent
virtual void BeginPlay() override;
bool IsHandConnected(bool left);
I’ve created a Blueprint that inherits from Pawn and then attached a VRHelper ActorComponent (this code so) on it. I want to call one of those functions but it doesn’t work.
Do you know why? I’m pretty new to C++ in Unreal, I probably made a mistake.