public bool autoLoad;
private float autoLoadOnLevelAfter = 3.0f;
void Start() {
if(autoLoad) {Invoke ("LoadNextLevel", autoLoadOnLevelAfter);}
}
If you are not worried about changing the time between scene loads, I think this is simple option
public bool autoLoad;
private float autoLoadOnLevelAfter = 3.0f;
void Start() {
if(autoLoad) {Invoke ("LoadNextLevel", autoLoadOnLevelAfter);}
}
If you are not worried about changing the time between scene loads, I think this is simple option