[Official Website] Getting to Know UMG_06 Update User Interface

Static UI has a wide range of uses, but once dynamic events are involved, we need to update data on the interface in real time. In this lesson we will learn how to update data in real time when the data changes.

1. Another method: attribute binding, which is essentially a method of changing the binding attribute.

 ​​​​​​

The disadvantage of binding is that if some UI does not need to change frequently, such as the player's life value or the number of ammunition, they don't need to update every frame. The above function will update every frame, so it will generate unnecessary overhead, so like this Binding properties isn't very useful.

 2. Delete function

 3. Relink

Guess you like

Origin blog.csdn.net/yangzhen_010/article/details/126155695