no key preset

so i want to wait for 20 sec and if no key preset then load level. maybe someone can look and tell what is the problem

var levels: String;

function Update(){

levels1();

}
function levels1(){
yield WaitForSeconds (20);
if(Input.GetKey(KeyCode.None)){

Application.LoadLevel(levels);
}
}

Invoke your level changing function, so it happens 20 seconds later.

When you make an input, cancel that Invoke :wink: