//플레이어의 말 세팅 public IEnumerator SetPlayerTalkText(int _index) { isTextShowAll = false; string getString = m_sPlayerText [_index]; m_playerTalk_Text.text = ""; int nStrIndex = 0; while (true) { if (isTextShowAll == true) { m_fContinueTextTime -= Time.deltaTime; //일정시간이 지나면 다음 껄로 넘어간다 if (m_fContinueTextTime <= 0) { //텍스트를 클릭하면 넘어간다 if (isTextBlink == true) { yield break; } //첫번째 플레이어 말풍선후 손님들 등장 if (tutorialPanel.eTutorialState == TutorialOrder.E_TUTORIAL_START_PLAYERTALKBOX01 && isPlayerText01AndGuestShow == false) { tutorialPanel.StartGuestShow(); TalkBoxOnOff(false); yield break; } if (tutorialPanel.eTutorialState == TutorialOrder.E_TUTORIAL_START_PLAYERTALKBOX02) { TalkBoxOnOff(false); tutorialPanel.DeActiveObj.SetActive(true); SpawnManager.Instance.repairObject.AllDebuffIconInit(); tutorialPanel.StartTutorialFullScreenTextPanelAlpha(TutorialOption.E_TUTORIAL_OPTION_FADEIN); tutorialPanel.eTutorialState = TutorialOrder.E_TUTORIAL_START_FULLSCREENTALK02; yield break; } if (tutorialPanel.eTutorialState == TutorialOrder.E_TUTORIAL_START_PLAYERTALKBOX03) { tutorialPanel.eTutorialState = TutorialOrder.E_TUTORIAL_START_DRAGONTALKBOX03; TalkBoxOnOff(false); yield break; } if (tutorialPanel.eTutorialState == TutorialOrder.E_TUTORIAL_START_PLAYERTALKBOX04) { tutorialPanel.eTutorialState = TutorialOrder.E_TUTORAIL_START_DRAGONREPAIR; TalkBoxOnOff(false); yield break; } if (tutorialPanel.eTutorialState == TutorialOrder.E_TUTORIAL_START_PLAYERTALKBOX05) { tutorialPanel.eTutorialState = TutorialOrder.E_TUTORIAL_START_DRAGONTALKBOX04; TalkBoxOnOff(false); yield break; } if (tutorialPanel.eTutorialState == TutorialOrder.E_TUTORIAL_START_PLAYERTALKBOX06) { tutorialPanel.eTutorialState = TutorialOrder.E_TUTORIAL_START_DRAGONTALKBOX05; TalkBoxOnOff(false); yield break; } if (tutorialPanel.eTutorialState == TutorialOrder.E_TUTORIAL_START_PLAYERTALKBOX07) { tutorialPanel.eTutorialState = TutorialOrder.E_TUTORIAL_START_PLAYERTALKBOX08; TalkBoxOnOff(false); yield break; } if (tutorialPanel.eTutorialState == TutorialOrder.E_TUTORIAL_START_PLAYERTALKBOX08) { tutorialPanel.eTutorialState = TutorialOrder.E_TUTORIAL_START_DAYS; TalkBoxOnOff(false); yield break; } } else { yield return(null); } } else { if (nStrIndex < getString.Length) { m_playerTalk_Text.text += getString [nStrIndex]; nStrIndex++; } else { isTextShowAll = true; StartTextAvailableBlink(); } yield return(new WaitForSeconds(0.075f)); } } }