i was wondering what id have to do to make it so my level doesn’t load immediately after i reach the correct score, i want to fully here the sound my coin makes before it switches.
#pragmastrict
var time;
var LevelEnd = false;
function Update(){
if(LevelEnd == true){
time += Time.deltaTime;
}
if(time >= 2){
Application.LoadLevel("NextLevelName")
}
}
Something in this fashion.