pressing key - changing scene

Hi,

i'm a bloody newbie using unity3, but advanced in 3d. currently I'm working on a kind of an art-fps-game for a performance on stage. i need to change the levels manually at a certain time, so my first idea was to use keys switching to the levels, i.e. key #2 for level 2, key #3 for level 3 and so on...

i have no idea how to solve this?

glad for any suggestions: andreas

Hi,

You could use something along those lines, using F2 and F3 keys:

function Update(){

If (Input.GetKey(KeyCode.F2)){
Application.Loadlevel("level2")
}
else if (Input.GetKey(KeyCode.F3)){
Application.Loadlevel("level3")
}

}