Reputation: 21
I am trying to build an interface of my RTS, I want to create basic HUD with some buttons and time/date grid.
I have created widget blueprint and designed as I needed.
This is how I am trying to create HUD, get its reference and put it into variable for next use.
This is how I am trying to add it to the viewport on the beginPlay.
Everything is happening inside PlayerController. No widget is shown on the display.
Upvotes: 0
Views: 4131
Reputation: 552
I tested and it works well using your way, UE4 version is 4.21. Let me know if that doesn't work for you.
Upvotes: 1