public void LoadSceneInternal(string scene) { Dbg.LogErrorReleaseIf(isLoading, this, "Tried to start new scene load while already loading scene"); Dbg.LogErrorReleaseIf(setupRoutine != null, this, "Tried to start new scene load during setup"); if (isLoading || setupRoutine != null) { return; } sceneToLoadNextFrame = scene; }