private void LoadLevel() { if (mainCanvas.GetBlackgroundAlpha() == 1) { levelGenerator.GenerateFullDungeonLevel(16, 16); BakeNavMesh(); CameraFollowPlayer.InvertCamera(); PlayerMovement.InvertControls(); gameController.GetComponents <AudioSource>()[1].Stop(); camera.GetComponent <PostProcessingBehaviour>().profile = _forestPostProcessing; _loadingLevel = false; } }