IEnumerator LoadSaveDelayedCoroutine(AudioManagerSave save) { // Wait until objects are recreated in the scenes (ManagerScene is loaded before dynamic objects are created) yield return(new WaitWhile(() => SaveManager.isCurrentlyLoadingSave)); save.LoadSaveDelayed(this); }
void LoadSaveDelayed(AudioManagerSave save) { StartCoroutine(LoadSaveDelayedCoroutine(save)); }