public void SetFinishTutorial(TUTORIAL_STEP step)
 {
     m_currentTutorialStep = TUTORIAL_STEP.COUNT;
     m_data.CompleteTutorialList.Add(step);
     UpdateTutorialStatus();
     Save();
 }
Example #2
0
    void TutorialProcess()
    {
        if (CMainData.getGameState() == GameData.GAME_STATE_READY)
        {
            startTime = 0.0f;
            m_lScore  = 0;
            m_sBoard.initBoards();
            CTimeManager.SetTimer();
            MainGame.g_Instance.setSoundState(SOUND_STATE.SOUND_STATE_GAME_INTRO_READY);

            CMainData.setGameState(GameData.GAME_STATE_GAMEING);
            m_nTutorialState = GameData.startTutorialStep;
        }
        else if (CMainData.getGameState() == GameData.GAME_STATE_GAMEING)
        {
            CheckControl();
            CheckEvent();
            TutorialMainProcess();
        }
        else if (CMainData.getGameState() == GameData.GAME_STATE_PAUSE)
        {
        }
        else if (CMainData.getGameState() == GameData.GAME_STATE_GAMEOVER)
        {
        }
        else if (CMainData.getGameState() == GameData.GAME_STATE_TIMEUP)
        {
            GameOverProcess();
        }

        PlayBGM();
    }
 public void ResetTutorial(TUTORIAL_STEP step)
 {
     if (m_data.CompleteTutorialList.Exists(x => x == step))
     {
         m_data.CompleteTutorialList.Remove(step);
         UpdateTutorialStatus();
     }
 }
Example #4
0
 public static bool IsTheTutorialOver(TUTORIAL_STEP step)
 {
     if (!MonoBehaviourSingleton <UserInfoManager> .IsValid())
     {
         return(false);
     }
     return(MonoBehaviourSingleton <UserInfoManager> .I.userStatus.tutorialStep >= (int)step);
 }
Example #5
0
    void GameProcess()
    {
        if (CMainData.getGameState() == GameData.GAME_STATE_READY)
        {
            startTime = 0.0f;
            m_lScore  = 0;
            m_sBoard.initBoards();
            m_sBoard.makeStartDice();
            CTimeManager.SetTimer();

            if (gameSceneUI)
            {
                gameSceneUI.ChangeState(CMainData.getGameState());
            }

            CMainData.setGameState(GameData.GAME_STATE_START);
            CKeyManager.ControlOn();

            m_nTutorialState = TUTORIAL_STEP.TUTORIAL_STEP_NONE;
        }
        else if (CMainData.getGameState() == GameData.GAME_STATE_START)
        {
            processReadyUI();
        }
        else if (CMainData.getGameState() == GameData.GAME_STATE_GAMEING)
        {
            CheckControl();
            CheckEvent();
            CheckTimer();
            if (CheckBoard())
            {
                CMainData.setGameState(GameData.GAME_STATE_GAMEOVER);
            }
        }
        else if (CMainData.getGameState() == GameData.GAME_STATE_PAUSE)
        {
        }
        else if (CMainData.getGameState() == GameData.GAME_STATE_GAMEOVER)
        {
            GameOverProcess();
        }
        else if (CMainData.getGameState() == GameData.GAME_STATE_TIMEUP)
        {
            GameOverProcess();
        }

        PlayBGM();
    }
Example #6
0
    void TutorialMoveEnd(Vector3 pos)
    {
        //Debug.Log("TUTORIAL MOVE END " + "X = " + pos.x + "," + "Z = " + pos.z + "," + "STATE = " + m_nTutorialState);
        switch (m_nTutorialState)
        {
        case TUTORIAL_STEP.TUTORIAL_STEP13_ING:
        {
            if (pos.x == 5 && pos.z == 1)
            {
                //Debug.Log("TUTORIAL MOVE END CLEAR " + "X = " + pos.x + "," + "Z = " + pos.z);
                DiceSet _diceSet = m_sBoard.GetDice(5, 1);
                if (_diceSet != null)
                {
                    CKeyManager.ControlOff();
                    _diceSet.script.DisappearDice();
                    m_nTutorialState = TUTORIAL_STEP.TUTORIAL_STEP13_END;
                }
            }
        }
        break;

        case TUTORIAL_STEP.TUTORIAL_STEP14_ING:
        {
            if (pos.x == 5 && pos.z == 1)
            {
                //Debug.Log("TUTORIAL MOVE END CLEAR " + "X = " + pos.x + "," + "Z = " + pos.z);
                DiceSet _diceSet = m_sBoard.GetDice(5, 1);
                if (_diceSet != null)
                {
                    CKeyManager.ControlOff();
                    tutorialUI.NextStep();
                    _diceSet.script.DisappearDice();
                    m_nTutorialState = TUTORIAL_STEP.TUTORIAL_STEP14_END;
                }
            }
        }
        break;
        }
    }
 public bool IsFinishTutorial(TUTORIAL_STEP step)
 {
     return(TutorialsFinish[(int)step]);
 }
Example #8
0
    void TutorialMainProcess()
    {
        //if (TutorialUI.g_instance != null)
        //{
        //    TutorialUI.g_instance.ChangeTutorialUI_ForStep((int)m_nTutorialState);
        //}

        switch (m_nTutorialState)
        {
        case TUTORIAL_STEP.TUTORIAL_STEP1_BEGIN:
            CKeyManager.ControlOff();
            m_sCursor.transform.position = new Vector3(2.0f, 0.0f, 3.0f);
            m_Star.SetActive(true);
            m_Star.transform.position = new Vector3(5.0f, -0.45f, 1.0f);
            m_nTutorialState          = TUTORIAL_STEP.TUTORIAL_STEP1_ING;
            tutorialUI.NextStep();

            break;

        case TUTORIAL_STEP.TUTORIAL_STEP1_ING:
            CKeyManager.ControlTimeCheck();
            if (m_oCursor.transform.position == new Vector3(5.0f, 0.0f, 1.0f))
            {
                m_nTutorialState = TUTORIAL_STEP.TUTORIAL_STEP1_END;
            }
            break;

        case TUTORIAL_STEP.TUTORIAL_STEP1_END:
            CKeyManager.ControlOff();
            ClearState();
            m_nTutorialState = TUTORIAL_STEP.TUTORIAL_STEP2_BEGIN;
            break;

        case TUTORIAL_STEP.TUTORIAL_STEP2_BEGIN:
            tutorialUI.NextStep();
            CKeyManager.ControlOff();
            m_Star.SetActive(true);
            m_sCursor.transform.position = new Vector3(2.0f, 0.0f, 3.0f);
            m_Star.transform.position    = new Vector3(5.0f, -0.45f, 1.0f);
            m_sBoard.CreateDice(3, 3, 1, true);
            m_nTutorialState = TUTORIAL_STEP.TUTORIAL_STEP2_ING;
            break;

        case TUTORIAL_STEP.TUTORIAL_STEP2_ING:
        {
            CKeyManager.ControlTimeCheck();
            DiceSet _diceSet = m_sBoard.GetDice(5, 1);
            if (_diceSet != null)
            {
                m_nTutorialState = TUTORIAL_STEP.TUTORIAL_STEP2_END;
            }
        }
        break;

        case TUTORIAL_STEP.TUTORIAL_STEP2_END:
        {
            CKeyManager.ControlOff();
            ClearState();
            m_sBoard.RemoveDice(5, 1);
            m_nTutorialState = TUTORIAL_STEP.TUTORIAL_STEP6_BEGIN;
            CKeyManager.ControlOff();
        }
        break;

        //주사위 2 클리어
        case TUTORIAL_STEP.TUTORIAL_STEP6_BEGIN:
            tutorialUI.NextStep();
            CKeyManager.ControlOff();
            m_Star.SetActive(true);
            m_Arrow.SetActive(true);
            m_sCursor.transform.position = new Vector3(7.0f, 0.0f, 3.0f);
            m_Star.transform.position    = new Vector3(2.0f, -0.45f, 3.0f);
            m_Arrow.transform.position   = new Vector3(4.0f, -0.45f, 3.0f);

            m_sBoard.CreateDice(2, 4, 2, true).script.setMoveable(false);
            m_sBoard.CreateDice(6, 3, 2, true).script.setMoveable(true);

            m_nTutorialState = TUTORIAL_STEP.TUTORIAL_STEP6_ING;
            break;

        case TUTORIAL_STEP.TUTORIAL_STEP6_ING:
        {
            CKeyManager.ControlTimeCheck();
            DiceSet _diceSet = m_sBoard.GetDice(2, 3);
            if (_diceSet != null)
            {
                m_nTutorialState = TUTORIAL_STEP.TUTORIAL_STEP6_END;
            }
        }
        break;

        case TUTORIAL_STEP.TUTORIAL_STEP6_END:
        {
            if (m_sBoard.IsAlmostEmpty())
            {
                CKeyManager.ControlOff();
                Debug.Log("TUTORIAL_STEP6_END");
                //모든 주사위 내려가면 상태 변경
                ClearState();
                m_nTutorialState = TUTORIAL_STEP.TUTORIAL_STEP7_BEGIN;
            }
        }
        break;

        //주사위 3 클리어
        case TUTORIAL_STEP.TUTORIAL_STEP7_BEGIN:
            tutorialUI.NextStep();
            CKeyManager.ControlOff();
            m_Star.SetActive(true);
            m_Arrow.SetActive(true);
            m_sCursor.transform.position = new Vector3(7.0f, 0.0f, 3.0f);
            m_Star.transform.position    = new Vector3(2.0f, -0.45f, 3.0f);
            m_Arrow.transform.position   = new Vector3(4.0f, -0.45f, 3.0f);
            m_sBoard.CreateDice(2, 5, 3, true).script.setMoveable(false);
            m_sBoard.CreateDice(2, 4, 3, true).script.setMoveable(false);
            m_sBoard.CreateDice(6, 3, 3, true).script.setMoveable(true);
            m_nTutorialState = TUTORIAL_STEP.TUTORIAL_STEP7_ING;

            break;

        case TUTORIAL_STEP.TUTORIAL_STEP7_ING:
        {
            CKeyManager.ControlTimeCheck();
            DiceSet _diceSet = m_sBoard.GetDice(2, 3);
            if (_diceSet != null)
            {
                m_nTutorialState = TUTORIAL_STEP.TUTORIAL_STEP7_END;
            }
        }
        break;

        case TUTORIAL_STEP.TUTORIAL_STEP7_END:
            if (m_sBoard.IsAlmostEmpty())
            {
                CKeyManager.ControlOff();
                //모든 주사위 내려가면 상태 변경
                ClearState();
                m_nTutorialState = TUTORIAL_STEP.TUTORIAL_STEP8_BEGIN;
            }
            break;

        //주사위 4 클리어
        case TUTORIAL_STEP.TUTORIAL_STEP8_BEGIN:
            tutorialUI.NextStep();
            CKeyManager.ControlOff();
            m_Star.SetActive(true);
            m_Arrow.SetActive(true);
            m_sCursor.transform.position = new Vector3(7.0f, 0.0f, 3.0f);
            m_Star.transform.position    = new Vector3(2.0f, -0.45f, 3.0f);
            m_Arrow.transform.position   = new Vector3(4.0f, -0.45f, 3.0f);
            m_sBoard.CreateDice(2, 6, 4, true).script.setMoveable(false);
            m_sBoard.CreateDice(2, 5, 4, true).script.setMoveable(false);
            m_sBoard.CreateDice(2, 4, 4, true).script.setMoveable(false);
            m_sBoard.CreateDice(6, 3, 4, true).script.setMoveable(true);
            m_nTutorialState = TUTORIAL_STEP.TUTORIAL_STEP8_ING;

            break;

        case TUTORIAL_STEP.TUTORIAL_STEP8_ING:
        {
            CKeyManager.ControlTimeCheck();
            DiceSet _diceSet = m_sBoard.GetDice(2, 3);
            if (_diceSet != null)
            {
                m_nTutorialState = TUTORIAL_STEP.TUTORIAL_STEP8_END;
            }
        }
        break;

        case TUTORIAL_STEP.TUTORIAL_STEP8_END:
        {
            if (m_sBoard.IsAlmostEmpty())
            {
                CKeyManager.ControlOff();
                //모든 주사위 내려가면 상태 변경
                ClearState();
                m_nTutorialState = TUTORIAL_STEP.TUTORIAL_STEP9_BEGIN;
            }
        }
        break;

        //주사위 5 클리어
        case TUTORIAL_STEP.TUTORIAL_STEP9_BEGIN:
            tutorialUI.NextStep();
            CKeyManager.ControlOff();
            m_Star.SetActive(true);
            m_Arrow.SetActive(true);
            m_sCursor.transform.position = new Vector3(7.0f, 0.0f, 3.0f);
            m_Star.transform.position    = new Vector3(2.0f, -0.45f, 3.0f);
            m_Arrow.transform.position   = new Vector3(4.0f, -0.45f, 3.0f);
            m_sBoard.CreateDice(2, 7, 5, true).script.setMoveable(false);
            m_sBoard.CreateDice(2, 6, 5, true).script.setMoveable(false);
            m_sBoard.CreateDice(2, 5, 5, true).script.setMoveable(false);
            m_sBoard.CreateDice(2, 4, 5, true).script.setMoveable(false);
            m_sBoard.CreateDice(6, 3, 5, true).script.setMoveable(true);
            m_nTutorialState = TUTORIAL_STEP.TUTORIAL_STEP9_ING;

            break;

        case TUTORIAL_STEP.TUTORIAL_STEP9_ING:
        {
            CKeyManager.ControlTimeCheck();

            DiceSet _diceSet = m_sBoard.GetDice(2, 3);
            if (_diceSet != null)
            {
                m_nTutorialState = TUTORIAL_STEP.TUTORIAL_STEP9_END;
            }
        }
        break;

        case TUTORIAL_STEP.TUTORIAL_STEP9_END:
        {
            if (m_sBoard.IsAlmostEmpty())
            {
                //모든 주사위 내려가면 상태 변경
                CKeyManager.ControlOff();
                ClearState();
                m_nTutorialState = TUTORIAL_STEP.TUTORIAL_STEP10_BEGIN;
            }
        }
        break;

        //주사위 6 클리어
        case TUTORIAL_STEP.TUTORIAL_STEP10_BEGIN:
            tutorialUI.NextStep();
            CKeyManager.ControlOff();
            m_Star.SetActive(true);
            m_Arrow.SetActive(true);
            m_sCursor.transform.position = new Vector3(7.0f, 0.0f, 3.0f);
            m_Star.transform.position    = new Vector3(2.0f, -0.45f, 3.0f);
            m_Arrow.transform.position   = new Vector3(4.0f, -0.45f, 3.0f);
            m_sBoard.CreateDice(2, 8, 6, true).script.setMoveable(false);
            m_sBoard.CreateDice(2, 7, 6, true).script.setMoveable(false);
            m_sBoard.CreateDice(2, 6, 6, true).script.setMoveable(false);
            m_sBoard.CreateDice(2, 5, 6, true).script.setMoveable(false);
            m_sBoard.CreateDice(2, 4, 6, true).script.setMoveable(false);
            m_sBoard.CreateDice(6, 3, 6, true).script.setMoveable(true);
            m_nTutorialState = TUTORIAL_STEP.TUTORIAL_STEP10_ING;
            break;

        case TUTORIAL_STEP.TUTORIAL_STEP10_ING:
        {
            CKeyManager.ControlTimeCheck();
            DiceSet _diceSet = m_sBoard.GetDice(2, 3);
            if (_diceSet != null)
            {
                m_nTutorialState = TUTORIAL_STEP.TUTORIAL_STEP10_END;
            }
        }
        break;

        case TUTORIAL_STEP.TUTORIAL_STEP10_END:
        {
            if (m_sBoard.IsAlmostEmpty())
            {
                //모든 주사위 내려가면 상태 변경
                CKeyManager.ControlOff();
                ClearState();
                m_nTutorialState = TUTORIAL_STEP.TUTORIAL_STEP11_BEGIN;
            }
        }
        break;

        //체인 설명
        case TUTORIAL_STEP.TUTORIAL_STEP11_BEGIN:
            tutorialUI.NextStep();
            CKeyManager.ControlOff();
            m_Star.SetActive(true);
            m_Arrow.SetActive(true);
            m_Star2.SetActive(true);
            m_Arrow2.SetActive(true);

            m_sCursor.transform.position = new Vector3(7.0f, 0.0f, 3.0f);
            m_Star.transform.position    = new Vector3(2.0f, -0.45f, 3.0f);
            m_Arrow.transform.position   = new Vector3(4.0f, -0.45f, 3.0f);
            m_Star2.transform.position   = new Vector3(2.0f, -0.45f, 2.0f);
            m_Arrow2.transform.position  = new Vector3(4.0f, -0.45f, 2.0f);

            m_sBoard.CreateDice(2, 8, 6, true).script.setMoveable(false);
            m_sBoard.CreateDice(2, 7, 6, true).script.setMoveable(false);
            m_sBoard.CreateDice(2, 6, 6, true).script.setMoveable(false);
            m_sBoard.CreateDice(2, 5, 6, true).script.setMoveable(false);
            m_sBoard.CreateDice(2, 4, 6, true).script.setMoveable(false);
            m_sBoard.CreateDice(6, 3, 6, true).script.setMoveable(true);
            m_sBoard.CreateDice(6, 2, 6, true).script.setMoveable(false);
            m_nTutorialState   = TUTORIAL_STEP.TUTORIAL_STEP11_ING;
            m_nTutorailSubStep = TUTORIAL_SUB_STEP.TUTORIAL_SUB_STEP1;

            break;

        case TUTORIAL_STEP.TUTORIAL_STEP11_ING:
        {
            CKeyManager.ControlTimeCheck();

            switch (m_nTutorailSubStep)
            {
            case TUTORIAL_SUB_STEP.TUTORIAL_SUB_STEP1:
                DiceSet _diceSet = m_sBoard.GetDice(2, 3);
                if (_diceSet != null)
                {
                    //DiceSet _diceSet = m_sBoard.GetDice(2, 3);
                    m_nTutorailSubStep = TUTORIAL_SUB_STEP.TUTORIAL_SUB_STEP2;
                    m_sBoard.GetDice(6, 2).script.setMoveable(true);
                }
                break;

            case TUTORIAL_SUB_STEP.TUTORIAL_SUB_STEP2:

                if (CScoreManager.m_nMaxChain >= 1)
                {
                    m_nTutorailSubStep = TUTORIAL_SUB_STEP.TUTORIAL_SUB_STEP_NONE;
                    m_nTutorialState   = TUTORIAL_STEP.TUTORIAL_STEP11_END;
                }
                break;
            }
        }
        break;

        case TUTORIAL_STEP.TUTORIAL_STEP11_END:
        {
            if (m_sBoard.IsAlmostEmpty())
            {
                //모든 주사위 내려가면 상태 변경
                CKeyManager.ControlOff();
                ClearState();
                m_nTutorialState = TUTORIAL_STEP.TUTORIAL_STEP12_BEGIN;
            }
        }
        break;

        //주사위 1 설명
        case TUTORIAL_STEP.TUTORIAL_STEP12_BEGIN:
            tutorialUI.NextStep();
            CKeyManager.ControlOff();
            m_Star.SetActive(false);
            m_Star2.SetActive(false);
            m_Arrow.SetActive(false);
            m_Arrow2.SetActive(false);

            m_Star.SetActive(true);
            m_Arrow.SetActive(true);

            m_Star.transform.position  = new Vector3(0.0f, -0.45f, 1.0f);
            m_Arrow.transform.position = new Vector3(2.0f, -0.45f, 1.0f);


            m_sCursor.transform.position = new Vector3(7.0f, 0.0f, 3.0f);
            //m_sBoard.CreateDice(0, 0, 6, true).script.setMoveable(false);
            //m_sBoard.CreateDice(1, 0, 6, true).script.setMoveable(false);
            //m_sBoard.CreateDice(2, 0, 6, true).script.setMoveable(false);
            //m_sBoard.CreateDice(3, 0, 6, true).script.setMoveable(false);

            m_sBoard.CreateDice(0, 2, 6, true).script.setMoveable(false);
            m_sBoard.CreateDice(0, 3, 6, true).script.setMoveable(false);
            m_sBoard.CreateDice(0, 4, 6, true).script.setMoveable(false);
            m_sBoard.CreateDice(0, 5, 6, true).script.setMoveable(false);
            m_sBoard.CreateDice(0, 6, 6, true).script.setMoveable(false);

            m_sBoard.CreateDice(3, 2, 1, true).script.setMoveable(false);
            m_sBoard.CreateDice(3, 3, 1, true).script.setMoveable(false);
            m_sBoard.CreateDice(3, 4, 1, true).script.setMoveable(false);
            m_sBoard.CreateDice(3, 5, 1, true).script.setMoveable(false);
            m_sBoard.CreateDice(3, 6, 1, true).script.setMoveable(false);

            m_sBoard.CreateDice(4, 2, 1, true).script.setMoveable(false);
            m_sBoard.CreateDice(4, 3, 1, true).script.setMoveable(false);
            m_sBoard.CreateDice(4, 4, 1, true).script.setMoveable(false);
            m_sBoard.CreateDice(4, 5, 1, true).script.setMoveable(false);
            m_sBoard.CreateDice(4, 6, 1, true).script.setMoveable(false);

            m_sBoard.CreateDice(5, 2, 1, true).script.setMoveable(false);
            m_sBoard.CreateDice(5, 3, 1, true).script.setMoveable(false);
            m_sBoard.CreateDice(5, 4, 1, true).script.setMoveable(false);
            m_sBoard.CreateDice(5, 5, 1, true).script.setMoveable(false);
            m_sBoard.CreateDice(5, 6, 1, true).script.setMoveable(false);

            m_sBoard.CreateDice(6, 2, 1, true).script.setMoveable(false);
            m_sBoard.CreateDice(6, 3, 1, true).script.setMoveable(false);
            m_sBoard.CreateDice(6, 4, 1, true).script.setMoveable(false);
            m_sBoard.CreateDice(6, 5, 1, true).script.setMoveable(false);
            m_sBoard.CreateDice(6, 6, 1, true).script.setMoveable(false);
            m_sBoard.CreateDice(4, 1, 6, true).script.setMoveable(true);
            m_nTutorialState   = TUTORIAL_STEP.TUTORIAL_STEP12_ING;
            m_nTutorailSubStep = TUTORIAL_SUB_STEP.TUTORIAL_SUB_STEP1;

            break;

        case TUTORIAL_STEP.TUTORIAL_STEP12_ING:
        {
            CKeyManager.ControlTimeCheck();

            switch (m_nTutorailSubStep)
            {
            case TUTORIAL_SUB_STEP.TUTORIAL_SUB_STEP1:
                DiceSet _diceSet = m_sBoard.GetDice(0, 1);
                if (_diceSet != null)
                {
                    m_nTutorailSubStep = TUTORIAL_SUB_STEP.TUTORIAL_SUB_STEP2;

                    m_sBoard.GetDice(3, 2).script.setMoveable(true);
                    m_sBoard.GetDice(3, 3).script.setMoveable(true);
                    m_sBoard.GetDice(3, 4).script.setMoveable(true);
                    m_sBoard.GetDice(3, 5).script.setMoveable(true);
                    m_sBoard.GetDice(3, 6).script.setMoveable(true);

                    m_sBoard.GetDice(4, 2).script.setMoveable(true);
                    m_sBoard.GetDice(4, 3).script.setMoveable(true);
                    m_sBoard.GetDice(4, 4).script.setMoveable(true);
                    m_sBoard.GetDice(4, 5).script.setMoveable(true);
                    m_sBoard.GetDice(4, 6).script.setMoveable(true);

                    m_sBoard.GetDice(5, 2).script.setMoveable(true);
                    m_sBoard.GetDice(5, 3).script.setMoveable(true);
                    m_sBoard.GetDice(5, 4).script.setMoveable(true);
                    m_sBoard.GetDice(5, 5).script.setMoveable(true);
                    m_sBoard.GetDice(5, 6).script.setMoveable(true);

                    m_sBoard.GetDice(6, 2).script.setMoveable(true);
                    m_sBoard.GetDice(6, 3).script.setMoveable(true);
                    m_sBoard.GetDice(6, 4).script.setMoveable(true);
                    m_sBoard.GetDice(6, 5).script.setMoveable(true);
                    m_sBoard.GetDice(6, 6).script.setMoveable(true);
                }
                break;

            case TUTORIAL_SUB_STEP.TUTORIAL_SUB_STEP2:

                if (CScoreManager.m_nMaxChain >= 10)
                {
                    m_nTutorailSubStep = TUTORIAL_SUB_STEP.TUTORIAL_SUB_STEP_NONE;
                    m_nTutorialState   = TUTORIAL_STEP.TUTORIAL_STEP12_END;
                }
                break;
            }
        }

        break;

        case TUTORIAL_STEP.TUTORIAL_STEP12_END:
        {
            //if (m_sBoard.IsEmpty())
            {
                //모든 주사위 내려가면 상태 변경
                CKeyManager.ControlOff();
                ClearState();
                m_nTutorialState = TUTORIAL_STEP.TUTORIAL_STEP13_BEGIN;
            }
        }
        break;

        //주사위 팁
        case TUTORIAL_STEP.TUTORIAL_STEP13_BEGIN:
            tutorialUI.NextStep();
            CKeyManager.ControlOff();

            m_Star.SetActive(false);
            m_Star2.SetActive(false);
            m_Arrow.SetActive(false);
            m_Arrow2.SetActive(false);

            m_Star.SetActive(true);
            m_Star.transform.position    = new Vector3(5.0f, -0.45f, 1.0f);
            m_sCursor.transform.position = new Vector3(7.0f, 0.0f, 3.0f);
            m_sBoard.CreateDice(5, 3, 1, true);
            m_nTutorialState = TUTORIAL_STEP.TUTORIAL_STEP13_ING;
            break;

        case TUTORIAL_STEP.TUTORIAL_STEP13_ING:
        {
            CKeyManager.ControlTimeCheck();
            //DiceSet _diceSet = m_sBoard.GetDice(5, 1);
            //if (_diceSet != null)
            //{
            //    if (_diceSet.script.GetState() == GameData.OBJECT_STATE_NONE)
            //    {
            //        _diceSet.script.DisappearDice();
            //        m_nTutorialState = TUTORIAL_STEP.TUTORIAL_STEP13_END;
            //    }
            //}
        }
        break;

        case TUTORIAL_STEP.TUTORIAL_STEP13_END:
        {
            if (m_sBoard.IsAlmostEmpty())
            {
                //모든 주사위 내려가면 상태 변경
                CKeyManager.ControlOff();
                ClearState();
                m_nTutorialState = TUTORIAL_STEP.TUTORIAL_STEP14_BEGIN;
            }
        }
        break;

        case TUTORIAL_STEP.TUTORIAL_STEP14_BEGIN:
            tutorialUI.NextStep();
            CKeyManager.ControlOff();
            m_Star.SetActive(true);
            m_Star.transform.position    = new Vector3(5.0f, -0.45f, 1.0f);
            m_sCursor.transform.position = new Vector3(7.0f, 0.0f, 3.0f);
            m_sBoard.CreateDice(5, 3, 2, true);
            m_nTutorialState = TUTORIAL_STEP.TUTORIAL_STEP14_ING;

            break;

        case TUTORIAL_STEP.TUTORIAL_STEP14_ING:
        {
            CKeyManager.ControlTimeCheck();

            //DiceSet _diceSet = m_sBoard.GetDice(5, 1);
            //if (_diceSet != null)
            //{
            //    CKeyManager.ControlOff();
            //    if (_diceSet.script.GetState() == GameData.OBJECT_STATE_NONE)
            //    {
            //        tutorialUI.NextStep();
            //        _diceSet.script.DisappearDice();
            //        m_nTutorialState = TUTORIAL_STEP.TUTORIAL_STEP14_END;
            //    }
            //}
        }
        break;

        case TUTORIAL_STEP.TUTORIAL_STEP14_END:
        {
            if (m_sBoard.IsAlmostEmpty())
            {
                tutorialUI.TutorialComplete();
                m_nTutorialState = TUTORIAL_STEP.TUTORIAL_STEP15_BEGIN;
            }
        }
        break;

        case TUTORIAL_STEP.TUTORIAL_STEP15_BEGIN:
            break;

        case TUTORIAL_STEP.TUTORIAL_STEP15_ING:
            break;

        case TUTORIAL_STEP.TUTORIAL_STEP15_END:
            break;

        default:
            break;
        }
    }