Beispiel #1
0
    /// <summary>
    /// 开始游戏
    /// </summary>
    private void StartGame()
    {
        GameMgr.Instance.Init();
        TextEffect.Init();
        // 初始化血量
        bloodSlider.maxValue = GameMgr.Instance.blood;
        bloodSlider.value    = GameMgr.Instance.blood;
        bloodImage.enabled   = true;
        // 生成字母盘
        keyGrid.CreateKeyList(GameMgr.Instance.keyList);

        comboText.gameObject.SetActive(false);
        scoreText.text = "0";
        gameOverDlg.Hide();
    }