Widget Update in C++

Made this to help a community member and decided to post it here aswel. It is a kind of thing that you can do it in several ways, but just only a few are the correct way, depending if your game is standalone or multiplayer, definitely I talk about this in the video, thou I don’t show, because otherwise it would take several hours and the course linked below is covering this well.

Follow a short video and a project link for you to check: project link

I recommend a creation of a small set of functions to easily help you set and retrieve the values from Widget, so many things here you don’t need to repeat while coding. The importance on using GameMode as for managing when and how values are updated is important and also GameInstance as I have explained in the video.

The course I have mentioned and which is so cheap for the actual content, is this one: course link