Hi all. Help me to understand logic between widgets. How can i transfer information between widgets? I want to create “plus button” widget. When i press this button i want to see that my counter of my ability (for example - strenght) will increment. I want it to be universal logic that i could copy this 5 or more time for other abilites.
When I haven buttons on my widgets that do similar things, I build a function and then hook it up to all the buttons and then send in a parameter to handle what is different. So if one button updates strength and another button updates dexterity, I will send a variable or a reference to a variable into the function to update. Then I am able to share the update logic and not have to repeat dozens of blueprint nodes. Functions are your friend
Thx a lot - i go to try)))