private void Update() { //튜토 아닐때 if (GameManager.Instance.GetPlayer().changeStats.bIsTutorial == true && bIsFirst == true) { m_fCreatePlusTime += Time.deltaTime; m_fLevelTime += Time.deltaTime; fCurSec += Time.deltaTime; if (fCurSec > nInitTime_Sec && m_bIsGoblinCreate == false && list_Character.Count < m_nMaxPollAmount && bIsBossCreate == false && bIsCharacterBack == false) { CreateGoblin(); m_bIsGoblinCreate = true; fCurSec = 0; m_fCreatePlusTime = 0; return; } //만들 수 있는 시간이 지났거나, 현재 손님이 없을경우, //캐릭터 카운트가 최대미만일 경우, 보스가 활성화 중이지 않을경우 캐릭터를 생성한다. if ((m_fCreatePlusTime >= m_fCreateTime || list_Character.Count == 0) && list_Character.Count < m_nMaxPollAmount && bIsBossCreate == false && bIsCharacterBack == false) { CreateCharacter(); } } //튜토 일떄 else if (GameManager.Instance.GetPlayer().changeStats.bIsTutorial == false && bIsFirst == true) { //처음 시작 설명 텍스트 if (tutorialPanel.eTutorialState == TutorialOrder.E_TUTORIAL_NONE) { //Debug.Log ("Tuto1 Start"); tutorialPanel.StartContent(); } if (tutorialPanel.eTutorialState == TutorialOrder.E_TUTORIAL_WAIT_DRAGONSHOW) { if (SpawnManager.Instance.list_Character.Count <= 0) { //tutorialPanel.tutorialImage_Obj.SetActive (true); //Instance.tutorialPanel.tutorial_Image.gameObject.SetActive (true); //Instance.tutorialPanel.tutorial_Image.enabled = true; tutorialPanel.playerTalk.TalkBoxOnOff(true); tutorialPanel.playerTalk.StartPlayerTalk(1); tutorialPanel.eTutorialState = TutorialOrder.E_TUTORIAL_START_PLAYERTALKBOX02; } } if (tutorialPanel.eTutorialState == TutorialOrder.E_TUTORIAL_START_IMAGE04 && uiManager.uiPanels[0].activeSelf == true) { SpawnManager.Instance.tutorialPanel.eTutorialState = TutorialOrder.E_TUTORIAL_START_SHOWCONSTRUCT; } } }