예제 #1
0
 void OnPlayNew()
 {
     if (LoLManager.instance.curProgress > 0)
     {
         ModalConfirm.Open(continueConfirmTitleRef, continueConfirmTextRef, (confirm) => {
             if (confirm)
             {
                 StartCoroutine(DoPlay(true));
             }
         });
     }
     else
     {
         StartCoroutine(DoPlay(true));
     }
 }
예제 #2
0
 void OnButtonReturn(GameObject go)
 {
     ModalConfirm.Open(exitConfirmTitle, exitConfirmMessage, OnConfirm);
 }