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