private void NewLevelA() //开始游戏、继续游戏都执行
    {
        _isGameOver       = false;
        _pause            = false;
        _isToTargetScored = false;
        _level            = PlayerPrefs.GetInt("level", 1);

        if (GameObject.Find("gameBg") == null)
        {
            GameObject gameBgObj = (GameObject)GameObject.Instantiate(gameBg);
            gameBgObj.name = "gameBg";
        }
        if (GameObject.Find("gameMessageUI") == null)
        {
            GameObject gameMessageUIObj = (GameObject)GameObject.Instantiate(gameMessageUI);
            gameMessageUIObj.name = "gameMessageUI";
        }
        if (GameObject.Find("propUI") == null)
        {
            GameObject propUIObj = (GameObject)GameObject.Instantiate(propUI);
            propUIObj.name = "propUI";
            PropUIControl propUIControl = propUIObj.GetComponent <PropUIControl>();
            propUIControl.SetEnabled(false);//星星出现动画播放完再激活
        }

        SetScore(PlayerPrefs.GetInt("score", 0), true);
        _maxScore           = PlayerPrefs.GetInt("maxScore", 0);
        _targetScore        = GameData.getTargetScore(_level);
        _starTweenShowCount = 0;
        _scoreMul           = 1;
        GameObject.Instantiate(textAnimObj);
        gmUI.Init(_level, _maxScore, _targetScore);
        GameObject.Destroy(GameObject.Find("failureUI"));
    }
    private void SetPropUIEnabled(bool value)
    {
        GameObject propUIObj = GameObject.Find("propUI");

        if (propUIObj)
        {
            PropUIControl propUIControl = propUIObj.GetComponent <PropUIControl>();
            propUIControl.SetEnabled(value);
        }
    }
    protected override void OnClick()
    {
        Game.instance.ChangeStarColor(_star, colorId);
        //道具栏恢复可用
        PropUIControl propUIControl = GameObject.Find("propUI").GetComponent <PropUIControl>();

        propUIControl.SetEnabled(true);
        //消毁选色面板
        Object.Destroy(thisRoot);
    }