I create a custom widget class
UCLASS()
class PORFROYALE_API UStatusEffectsWidget : public UUserWidget
{
GENERATED_BODY()
public:
virtual void NativeConstruct() override;
};
I define it in the .cpp
void UStatusEffectsWidget::NativeConstruct()
{
Super::NativeConstruct(); // getting error here stating UWidget does not have member NativeConstruct
}
Shouldn’t the super be referencing the UUserWidget? If that’s where the virtual function is created.