private void ShowCurrentMessage() { okToShowNewMessage = false; _text.text = _queue.current.text; _textFade.FadeIn(FadeInComplete); }
private IEnumerator _ShowForSeconds(float seconds, string text) { UpdateText(text); _textFade.FadeIn(); yield return(new WaitForSeconds(seconds)); _textFade.FadeOut(); if (_callbackMethod != null) { _callbackMethod(); _callbackMethod = null; } }