My code thus far is:
Character class constructor
ComponentInfo = CreateDefaultSubobject<UTextBlock>(TEXT("TextBox"));
Actual implementation/design is called within tick()
FText msg = FText::FromString(curSynchrotronComponent.getName(CurrentModuleIndex) + curSynchrotronComponent.getDesc(CurrentModuleIndex)); //text I wanna show in the textblock
ComponentInfo->SetText(msg);
ComponentInfo->SetColorAndOpacity(FSlateColor()); //Pink text
ComponentInfo->SetAutoWrapText(true); //wraps text around textbox
ComponentInfo->SetJustification(ETextJustify::Center); //Text is centered
ComponentInfo->SetOpacity(100.f);
This doesn’t get the block to appear on the HUD. How do I go about doing this?