Put this in your character class header:
UPROPERTY(EditAnywhere, Category = “Widget”)
TSubclassOf KoreWidgetClass;
Now you can set the right class in your character blueprint and use it in your code instead of UKoreWidget::StaticClass().
Put this in your character class header:
UPROPERTY(EditAnywhere, Category = “Widget”)
TSubclassOf KoreWidgetClass;
Now you can set the right class in your character blueprint and use it in your code instead of UKoreWidget::StaticClass().