Create Reusable Button Widget
I am building a UI using the UMG Editor. I am not sure the art style I will use for my buttons so I would like to create a prefab or a reusable widget that I can use in my various other Widgets for my screens. Then if I later decide I want the font larger or the button a different color I only have to modify it in the one place.
I started by making a widget that contained just a button that had text. This worked fine changing color and fotn on all instances whenever I compiled it. However it failed when I wanted to change the buttons text as there as no way I could do that
How can I create a button prefab/widget that changes will effect all uses.
asked Aug 11 '17 at 07:25 PM in Using UE4
You can bind the text component on the button to a variable and change the contents of that variable.
answered Aug 12 '17 at 01:59 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here