Пример #1
0
    public void GameOver(Note note)
    {
        SoundManager.Instance.PlayFXSound(CommonData.SOUND_TYPE.GAME_END);
        mDoorSystem.StopDoorEffect();
        StopGameEffect();

        mGameUIPage.GameOver();
        IsGamePause = true;
        if (PlayerData.Instance.GetVibrationSetting())
        {
            Handheld.Vibrate();
        }

        StartCoroutine(Co_GameOver(note));
    }