Problem with Input.GetKeyDown(KeyCode.Escape) in Build mode

Hiho, i’ve got a problem with:

function Update () {


    if (Input.GetKeyDown(KeyCode.Escape)){
        ....
    }
}

It works fine in Editor mode but don’t work when I compile the EXE file. The esc button do nothing, i tryed to add the button in the imputmanager, looked around in build settings, but just can’t find why its not working. Any ideas ?

solved, was my fault! Just a misstake in NGUI position when called the menue. Strange in editor mode it worked and in build mode not! But got a solution…