I’ve created a C++ class using the Wizard Add code, and Unreal has created this code:
class SIDESCROLLER_API APorcaBrutaHUD : public AHUD
I’ve extended the DrawHud, and assigned this class in the gameMode constructor .
But then i’ve created a Blueprint from this class (APorcaBrutaHUD), and added a variable.
Then in GameMode i need to use the blueprint class, but there is no way that Unreal find it!!!
static ConstructorHelpers::FClassFinder TheHUDOb(TEXT("/Game/Blueprints/_myHUD"));
static ConstructorHelpers::FClassFinder TheHUDOb(TEXT(“Class’/Game/Blueprints/BP_myHUD.BP_myHUD_C’”));
But always returns NULL…
How can i get the class from the Blueprint to assign my own HUD system…?