private IEnumerator CompleteWordCoroutine() { audioManager.PlayPoofSound(); cacheCompleteWordLL.Poof(); cacheCompleteWordLL.Label.text = cacheCompleteWord; yield return(Wait.For(AssessmentOptions.Instance.TimeToShowCompleteWord)); }
private IEnumerator ImageShowAnimation(StillLetterBox letter) { letter.Poof(); audioManager.PlayPoofSound(); letter.Magnify(); yield return(Wait.For(0.9f)); }
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)); }