Example #1
0
    private void OnCreateRoomClick() //按下創建房間的按鈕,就觸發此函式
    {
        BasePanel panel = uiMng.PushPanel(UIPanelType.Room);

        createRoomRequest.SetPanel(panel);
        createRoomRequest.SendRequest();//createRoomRequest會發出要求
    }
Example #2
0
    private void OnCreateRoomClick()
    {
        BasePanel panel = uiMng.PushPanel(UIPanelType.Room);

        createRoomRequest.SetPanel(panel);
        createRoomRequest.SendRequest();
    }
Example #3
0
    private void OnCreateRoomClick()
    {
        BasePanel panel = uiManager.PushPanel(UIPanelType.Room);

        crRequest.SetPanel(panel);
        crRequest.SendRequest();//发起创建请求
    }
    public void CreateRoomButtonClick(GameObject go)
    {
        BasePanel panel = uiMng.PushPanel(UIPanelType.Room);

        createRoomRequestce.SetPanel(panel);
        createRoomRequestce.SendRequest();
    }
Example #5
0
    // 注册创建房间按钮
    private void OnCreateRoomClick()
    {
        // 加载UI 发起创建房间的请求 panel返回出来进行赋值
        BasePanel panel = uiMng.PushPanel(UIPanelType.Room);

        createRoomRequest.SetPanel(panel);
        createRoomRequest.SendRequest(); // 发起创建房间请求
    }
Example #6
0
    private void OnCreateRoomClick()
    {
        Debug.LogWarning("这里为啥没加载出来啊");
        BasePanel panel = uiManager.PushPanel(UIPanelType.Room);

        createRoomRequest.SetPanel(panel);
        createRoomRequest.SendRequest();
    }
Example #7
0
    private void OnChangeMapClick()
    {
        PlayClickSound();
        BasePanle panel = uiMng.PushPanel(UIPanelType.Room);

        createRoomRequest.SetPanel(panel);
        createRoomRequest.SendRequest(currentMap.ToString());//发送地图索引给服务器
    }