Hi!
Player controller have function GetHUD, you can try and use that instead of GetActorOfClass:
And after that you can cast HUD to your class MyHUD and access HUDWidgetReference
Hi!
Player controller have function GetHUD, you can try and use that instead of GetActorOfClass:
And after that you can cast HUD to your class MyHUD and access HUDWidgetReference