#pragma strict
function Start () {
}
var timeLength:int =4 ;
var nextLevel:int=1 ;
private var myTime:int ;
function Update () {
myTime+=Time.deltaTime ;
if (myTime>timeLength)
Application.loadedLevel(nextLevel);
}
#pragma strict
function Start () {
}
var timeLength:int =4 ;
var nextLevel:int=1 ;
private var myTime:int ;
function Update () {
myTime+=Time.deltaTime ;
if (myTime>timeLength)
Application.loadedLevel(nextLevel);
}