private void Update() { frameNumber++; if (!asyncLoading) { if (frameNumber >= notAsyncLoadingStartFrame) { if (MadLevel.hasExtension && MadLevel.CanContinue()) { MadLevel.Continue(); } else { Debug.LogWarning("Level loading screen is meant to be in extension as 'before' scene."); MadLevel.LoadNext(); } } } }