Unreal class name prefix is giving me trouble
Unreal class name prefix law is really giving me hell.
I want this class GLogicNode to utilize the TWeakObjectPtr functionality of unreal. So GLogicNode has to be a subclass of UObject, but I want something more. I want this GLogicNode can inherit any subclass of UObject, like this:
those two lines actually compiles. but it's just a delusion:
UnrealClass changes from AActor to UObject and Widget, the the prefix of GLogicNode is not gonna fit. When I make another class, it finally failed in compilation.
the compiler complained about the prefix...
So my question is where should I been looking to get over the prefix problem? You know Unreal AActor is directly inherited from UObject.
Follow this question
Once you sign in you will be able to subscribe for any updates here