private IEnumerator LoadSong(string fileName) { ResetEditor(); _songManager.DesealizeSong(fileName); _propertiesManager.SetSongProperites(_songManager.CurrentSong); NotStartedBackground.SetActive(false); yield return(_audioManager.LoadClipRoutine(FileManager.Path + _songManager.CurrentSong.Clip + FileManager.audioExtension)); _renderSong.MakeLevelBuffers(1); RenderWave(); _songManager.LoadSongObjects(); _timeGridManager.Setup(_songManager.CurrentSong.Grid, _songManager.CurrentSong.GridBpm, _songManager.CurrentSong.GridOffset); _songManager.CurrentSong.AudioTime = ClipInfo.ClipTimeSize; if (_songManager.CurrentSong.Video != null) { _videoManager.Setup(_songManager.CurrentSong.Video, _songManager.CurrentSong.VOffset); } else { _videoManager.Close(); } yield return(null); sortWallObjectListAndSibling(); moveWallsVertically(); }