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