How would I make the new UI buttons load a level when clicked? I can’t seem to figure it out.
Create a script with a method to load the level. The method must be public, have a return type of void, and have valid arguments.
Attach the script to a GameObject. (Your button is a GameObject…)
Drag the GameObject into the OnClick section
Choose the appropriate method.
And you are done.
Thank you!