Hello everyone. I have this problem.
I have this widget that contains buttons within a “base” widget and by clicking on each one, they should make the relevant widget visible or hidden which in turn contains the inventory screen, map, skill, etc. etc.
It seems that by taking the ref directly from the button, the set visibility node has no effect.
For now I am using the HUD class, but I would like to be able to insert each functionality within the graph related to the widget that must take care of it. This is because I wouldn’t want to have a HUD class full of things and get confused.
Is there a way? Where am I going wrong?
P.S .: I’m almost sure that this morning I managed to get the result, using the “O” button as a test instead of the ‘onclicked’ event of the button, to make only the inventory widget visible and hidden. Then I made some changes and it no longer worked.