예제 #1
0
 private IEnumerator CompleteWordCoroutine()
 {
     audioManager.PlayPoofSound();
     cacheCompleteWordLL.Poof();
     cacheCompleteWordLL.Label.text = cacheCompleteWord;
     yield return(Wait.For(AssessmentOptions.Instance.TimeToShowCompleteWord));
 }
예제 #2
0
 private IEnumerator ImageShowAnimation(StillLetterBox letter)
 {
     letter.Poof();
     audioManager.PlayPoofSound();
     letter.Magnify();
     yield return(Wait.For(0.9f));
 }
예제 #3
0
        IEnumerator FadeOutImage(StillLetterBox image)
        {
            audioManager.PlayPoofSound();
            image.Poof();

            image.transform.DOScale(0, 0.4f).OnComplete(() => GameObject.Destroy(image.gameObject));
            yield return(Wait.For(0.1f));
        }