private IEnumerator RecPlay() { if (project.getAllAudio() != null) { if (project.getAllAudio().Count >= 1 && project.checkAudioCompletion()) { for (int a = 0; a < MicrophoneManager.getAllSources().Count; a++) { MicrophoneManager.getAllSources()[a].Stop(); MicrophoneManager.getAllSources()[a].Play(); } } } for (int i = 1; i <= project.getAllFrames().Count; i++) { DisableAll(); EnableActive(i); currentFrame = i; yield return(new WaitForSeconds(spf)); } ShareManager.StopRecording(); LoadPage(1); yield break; }