Hey ![]()
GetHelloWorld has to derive at least from UObject to use UClass.
If should be an Actor (An Actual “Being” in the Scene) it has to derive from AActor
so adding:
: public UObject //or.. :public AActor
after GetHelloWorld should do the trick.
BUT:
If it derives from UObject it has to have the prefix U (UGetHelloWorld)
From AActor it has to have the prefic A (AGetHelloWorld)
Greetings