How do I change scenes when pressing a "play" button?

I want to create a menu for my game, but I don’t know how to link options like “play” or “settings” to another scenes (levels of the game, etc.), or maybe just turn to another camera. How it works?

Application.LoadLevel is the method you are searching for.

If You want it to do it when you hit a specific button then do this:

function OnGUI(){
if(Rect(15,15,200,100), "Load Level"){
Application.LoadLevel("SceneName");
}
}

Make sure You put you’re scene name in the quotation marks.

But that up there is just for screen GUI if You want it on a 3d object then:

function OnMouseDown(){
    Application.LoadLevel("SceneName");
}