Hi unity, I made an simple main menu with this script attached to my ‘play game’ button.
function OnMouseEnter()
{
renderer.material.color = Color.red;
}
function OnMouseExit()
{
renderer.material.color = Color.white;
}
function OnMouseDown()
{
Application.LoadLevel("Alles");
}
It works fine, but if I click on play game. It will start mine “alles” level for 1 second. Then it jumps back into the main menu. I really have no solutions…