IEnumerator _ObliterateSaves() { Persistor.Clear(); if (self && restart) { self.PlayOneShot(restart); yield return(new WaitForSeconds(restart.length)); } SceneManager.LoadScene(1); Pause(false); }
IEnumerator _ObliterateSaves() { Persistor.Clear(); if (self && restart) { self.PlayOneShot(restart); yield return(new WaitForSeconds(restart.length)); } SceneManager.LoadScene(1); Pause(false); }