コード例 #1
0
        private IEnumerator DisplayErrorForSeconds(string text, float speechTime)
        {
            _pauseTyping = true;
            errorPopup.DisplayPopupText(text);

            yield return(new WaitForSeconds(speechTime));

            _pauseTyping = false;
            errorPopup.HidePopupText();
        }
コード例 #2
0
        private void ResetView()
        {
            StopErrorCoroutine();
            StopTypingCoroutine();
            StopGameOverCoroutine();

            storyText.text = string.Empty;
            errorPopup.HidePopupText();
            defeatPopup.HidePopupText();
            victoryPopup.HidePopupText();
        }