here is my script, i have the same for level 1, and it works fine. the thing is that it keeps loading level one instead of level 2
var NextLevelNormal : Texture2D;
var NextLevelHover : Texture2D;
function Start () {
}
function OnMouseEnter(){
guiTexture.texture = NextLevelHover;
}
function OnMouseExit(){
guiTexture.texture = NextLevelNormal;
}
function OnMouseDown(){
Application.LoadLevel("level 2");
}
function Update () {
if (Input.GetMouseButton(0)){
Application.LoadLevel("level 2");
}
}