示例#1
0
    public void GameRevival(bool immediately = false)
    {
        SoundManager.Instance.PlayFXSound(CommonData.SOUND_TYPE.REVIVAL);

        mDoorSystem.GameRevival();
        mNoteSystem.GameRevival();

        if (immediately == false)
        {
            IsGamePause = true;
            mGameUIPage.GameResume();
            SkillManager.Instance.ResetGame();
            SkillManager.Instance.UseSkinSlotSkill();
        }

        InGameEffect_Revive.SetActive(true);
        StartCoroutine(Co_GameResume());
    }