private void Continue()
 {
     if (!testMode)
     {
         MadLevel.Continue();
         isDone = true;
     }
     else
     {
         TestFakeLoadLevel();
     }
 }
    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();
                }
            }
        }
    }