LoadLevel easy i know, but not working.

Hi all,

i have a stupid problem with loadlevel. In my scene “1” i have my script “Core” with this functions

   public void nextLevel()
    {
        Application.LoadLevel(CurrentLevelID + 1);
    }

    public void restartLevel()
    {
        Application.LoadLevel(CurrentLevelID);
    }

    public void goToMenu()
    {
        Application.LoadLevel(0);
    }     

this is my new gui button:

42259-cattura-button.jpg

And this is my build settings

42260-cattura-build.jpg

Nothing goToMenu not work. when i click this button restart every time scene 1 and not load scene 0 “Menu”, i try to replace

Application.LoadLevel(0);

with:

Application.LoadLevel("Menu");

But nothing.
Help me please.

You should indeed use “Menu” with the command.
Check your Raycaster on your canvas that the “Ignore Reversed Graphics” is not checked.
If it is, and your buttons are flipped, it will ignore them.