public void showNextText()
        {
            resetTextField();

            state = TextTyperState.introductionText;
            currectTextSetting             = textSetting[textSettingIndex];
            currectTextSetting.CurrectText = 0;
            textField.text = "";
            textSettingIndex++;
            StartCoroutine(TypeText(currectTextSetting.Text[currectTextSetting.CurrectText]));
        }
        IEnumerator FadeText()
        {
            yield return(new WaitForSeconds(1.0f));

            Color color = textField.color;

            for (color.a = 1.0f; color.a > 0.0f; color.a -= 0.04f)
            {
                textField.color = color;
                yield return(0);

                yield return(new WaitForSeconds(currectTextSetting.LetterPause / 50.0f));
            }

            state = TextTyperState.fadeoutDoneIntroductionText;
        }
        public void fadeOutText()
        {
            state = TextTyperState.fadeoutIntroductionText;

            StartCoroutine(FadeText());
        }