Beispiel #1
0
    public void GameStart(START_TYPE startType)
    {
        StopMainBGM();
        ContinueCount = CommonData.GAME_CONTINUE_MAX_COUNT;
        StartType     = startType;
        ResetGame();
        //InGameEffect_Start.SetActive(true);
        if (startType == START_TYPE.FIRST)
        {
            Animator ani = InGameEffect_Start.GetComponent <Animator>();
            ani.SetTrigger("Start");
        }
        else
        {
            Animator ani = InGameEffect_Start.GetComponent <Animator>();
            ani.Rebind();
            InGameEffect_Start.SetActive(false);
        }


        SkillManager.Instance.UseSkinSlotSkill();
        mGameUIPage.RefreshShieldItemUI();
        mGameUIPage.RefreshItemSkillUI();
        mNoteSystem.GameStart();
        mDoorSystem.GameStart();
        StartCoroutine(UpdateGamePlay());
    }