How to link two scenes together with a button

Hi, I am making this very basic game consisting out of words and buttons. It is going to be like an App. I want to know how to link a button to redirect to the ‘next menu’. E.g. I have a button called Resources and when I press it, it should show me the contents of the Resources.

Ok, so the example I am going to give, refers to the “Legacy” GUI functions, but I prefer them, so yeah. First you are going to need to add a script to the camera, then (using javascript)function OnGUI(){ if (Gui.Button(Rect(whereonxaxis,whereonyaxis,xlength,ylength) "textyouwanttodisplay")){ Application.LoadLevel ("scenenamehere"); }

Note: I basically just used the code from the Unity docs located here but since I was just using it, I just answered it here, so yeah! Goodluck!

If you are going to use new UI system, you sould create empty gameobject with script. In this script, you must write public void function that will change scene.

In UI you add button, click “+” sign on pressed event, assign that empty gameobject and run its scripts function that will change scene