Пример #1
0
    void onShowGameStart(object data)
    {
        // 对局开始
        _lianQiPanel.gameObject.SetActive(true);
        _actionPanel.gameObject.SetActive(true);

        if (_roomRule.type == CommonDefine.eCreateRoomType.ROOM_PLAZA ||
            _roomRule.type == CommonDefine.eCreateRoomType.ROOM_CLASSIC_PLAZA)
        {
            _lianQiWaitPanel.hideLianQiWaitPanel();
        }

        //顶部按钮可以点击了
        enableTopBarButton(true);

        //设置先手
        _lianQiPanel.onUpdateFirstHandSeat(data);
        _actionPanel.onUpdateFirstHandSeat(data);
        _actionPanel.onInitActionPanel((object)_roomRule);
    }