I’m pretty new to Unity and have been working with UIToolkit. I have my buttons on screen, I’ve made a main menu and also some buttons on the HUD of my main game scene.
I can’t figure out how to make something happen if the buttons are pressed. The buttons I have are:
Start button > needs to load a new scene.
State button > has 2 states and needs to do a different thing depending on what state it is in.
Any help would be appreciated.