Menu Screen

So I have done many other menu type screens with no problems at all. Like game over screens startup menu screens etc. I use 3D text will box colliders and some script to make the mouse able to select things. Although on this screen I cannot get it to work. I even tried to use a script from another screen that worked perfectly. This is the code O’m attaching to two 3D text. I check the box for the quit game 3D Text.

var isQuitGame = false;
function OnMouseEnter()
{
renderer.material.color = Color.green;
}
function OnMouseExit()
{
renderer.material.color = Color.white;
}
function OnMouseUp()
{
if(isQuitGame)
{
//quit game
Application.Quit();
}
else
{
//load level
Application.LoadLevel(0);
}
}

Here is a code that works on my game over screen (basically the same thing) but does not work on this screen:

var isEndGame = false;
function OnMouseEnter()
{
renderer.material.color = Color.red;
}
function OnMouseExit()
{
renderer.material.color = Color.white;
}
function OnMouseUp()
{
if(isEndGame)
{
//quit game
Application.Quit();
}
else
{
//load level
Application.LoadLevel(0);
}
}

So when I go into the game to the screen no colors change when I hover the mouse over the letters, and if I press the main menu button it does not load any application level.

Note:

I do not get any error messages.

Just have a look and make sure that the box colliders are infront of any background. 3DText will show through a background but it will not register clicks.

(So if your background is at z=0 put your menu button at z=1)