Unity 5 UI Buttons

I have multiple UI buttons created and I want to write a script which checks if a certain button has been pressed, for Unity to change the scene depending on what button has been pressed.

There is a bunch of Unity tutorials about the Unity UI:

What you are looking for should be covered here:
https://unity3d.com/learn/tutorials/modules/beginner/ui/ui-button

1 Like