I use a 3D widget that the player can interact within the game world. For this purpose, the buttons are dynamically created in the widget which are needed in each case.
Changing the text by “set text” when it is clicked does not work.
How can I change the button text from e.g. Open - closed?
It seems the only way is to destroy the button and create a new one with the changed text in its place, but it can’t be the right way.
Is there a better way ingame to change the dynamic buttons in the game without using the above described method?