IEnumerator Repeat() { yield return(new WaitForSeconds(0.3f)); UIGame.SetActive(true); UIResult.SetActive(false); }
IEnumerator CheckSelectedSpin() { bool tResult = false; if (((EUtil.Symbol)randNUmList[currentIndex]).ToString() == popupList.value) { tResult = true; // Debug.Log("SUCCESS"); CFunc.successCount++; } else { tResult = false; //Debug.Log("FAILED"); CFunc.failedCount++; } CFunc.SaveScore(); yield return(new WaitForSeconds(0.7f)); UIResult.SetActive(true, tResult); UIGame.SetActive(false); }