Widget variables lose references when change widget
Hi, I've got two widgets filled with buttons. In the widget1 i modify all the brushes of my buttons using set brush resource to texture. In the widget2 i want to get the texture assigned to the buttons in widget1 and set the brush of the balt textuttons in widget2. Doing this i get only the default value of buttons in widget1. I think that the buttons lose references and his info (brush) passing from widget1 to widget2. How can i fix this?
asked May 15 '18 at 08:31 PM in Blueprint Scripting
You created widget 1 inside of widget 2 which means the button brushes you're pulling out would always be default settings. You would need to create widget 1, set all the brushes, then in widget 2 grab a reference to the created widget 1 with non default brush settings and then pull those values. How you get that reference to widget 1 from within widget 2 depends on where you created widget 1.
answered May 16 '18 at 01:50 AM
Nebula Games Inc
Follow this question
Once you sign in you will be able to subscribe for any updates here