How can i create a button wigdet to use for entire game?
My idea was making a some king of button object, saving and using on menus by overriding.
And if i want later i can change button design, font or stuff like that later. Because manuelly chaing each button is pain.
I created a widget only a button and a text. There is 2 problem, i can’t set text name and can’t take onReleased event to do stuff.
I made some system with open string variable, so the text updates when the game starts.
But i still can’t the get onReleased/Onpressed or any other events related with button.
What am i doing wrong and how can i achive it?