Well, i have been trying to create widget using SynchroneLoaded TSoftClassPtr
and now my code is:
UWidgetParent* AHUDParent::GetWidget(TSoftClassPtr<UWidgetParent> WidgetType)
{
class UWidgetParent* CurrentWidget = CreateWidget<UWidgetParent>(PlayerController0, WidgetType.LoadSynchronous());
It works great, and I posted it here so anybody else will not waste his time searching for this strings.
The question is, how to use DeterminesOutputType when I have TSoftClassPtr instead of TSubClassOf?
The obvious solution didn’t work.
And if you want you can copy next code and use in your game like on the photos: