Esempio n. 1
0
 IEnumerator WaitForConfirm()
 {
     confirm.Ask();
     while (confirm.ConfirmResult == "Null")
     {
         yield return(null);
     }
     if (confirm.ConfirmResult == "Yes")
     {
         SLManager.ChangeScene("MainMenu");
     }
 }
 IEnumerator WaitForConfirm()
 {
     confirm.Ask();
     while (confirm.ConfirmResult == "Null")
     {
         yield return(null);
     }
     if (confirm.ConfirmResult == "Yes")
     {
         SLManager.DeleteSave();
         SLManager.ChangeScene("Shop");
     }
 }