private void OnCreateRoomClick() //按下創建房間的按鈕,就觸發此函式 { BasePanel panel = uiMng.PushPanel(UIPanelType.Room); createRoomRequest.SetPanel(panel); createRoomRequest.SendRequest();//createRoomRequest會發出要求 }
private void OnCreateRoomClick() { BasePanel panel = uiMng.PushPanel(UIPanelType.Room); createRoomRequest.SetPanel(panel); createRoomRequest.SendRequest(); }
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(); }
// 注册创建房间按钮 private void OnCreateRoomClick() { // 加载UI 发起创建房间的请求 panel返回出来进行赋值 BasePanel panel = uiMng.PushPanel(UIPanelType.Room); createRoomRequest.SetPanel(panel); createRoomRequest.SendRequest(); // 发起创建房间请求 }
private void OnCreateRoomClick() { Debug.LogWarning("这里为啥没加载出来啊"); BasePanel panel = uiManager.PushPanel(UIPanelType.Room); createRoomRequest.SetPanel(panel); createRoomRequest.SendRequest(); }
private void OnChangeMapClick() { PlayClickSound(); BasePanle panel = uiMng.PushPanel(UIPanelType.Room); createRoomRequest.SetPanel(panel); createRoomRequest.SendRequest(currentMap.ToString());//发送地图索引给服务器 }