Text 101 using UI

Hi, I am making a Text 101 game using UI text buttons in which I want to change states by clicking on those buttons, can anyone tell me how to do that.

Not sure, if it helps, but maybe just create public functions for every button in script. - in this function just load new scenes (you can also change states, but not sure about complexity of managing button clicks)
Then add this scripts to same emptyGameObject like "scenemanager"
Then add to your text Button script
in the button script add Onclick action
drag object scenemanager with your script to that onclick action
now select corresponding action from dropdown menu on that onclick action

Privacy & Terms