Exemple #1
0
 private void OnStartButtonClick()
 {
     startGameRequest.SendRequest();
 }
 public void StartGameClick(GameObject go)
 {
     startGameRequest.SendRequest();
 }
Exemple #3
0
 private void StartBtnOnClick()
 {
     startGameRequest.SendRequest();
 }
 public void OnStartButtonClick()
 {
     PlayClickSound();
     startGameRequest.SendRequest();
 }
Exemple #5
0
 //public void SetLocalPlayerRes(string username, string totalCount, string winCount)
 //{
 //    localPlayerUsername.text = username;
 //    localPlayerTotalCount.text = "总场数:" + totalCount;
 //    localPlayerWinCount.text = "胜利:" + winCount;
 //}
 //private void SetEnemyPlayerRes(string username, string totalCount, string winCount)
 //{
 //    enemyPlayerUsername.text = username;
 //    enemyPlayerTotalCount.text = "总场数:" + totalCount;
 //    enemyPlayerWinCount.text = "胜利:" + winCount;
 //}
 //public void ClearEnemyPlayerRes()
 //{
 //    enemyPlayerUsername.text = "";
 //    enemyPlayerTotalCount.text = "等待玩家加入...";
 //    enemyPlayerWinCount.text = "";
 //}
 private void OnStartClick()
 {
     PlayClickSound();
     startGameRequest.SendRequest();
 }
Exemple #6
0
 // 开始游戏的监听
 private void OnStartClick()
 {
     startGameRequest.SendRequest();
     //加载gamePanel面板
     // uiMng.PushPanel(UIPanelType.Game);
 }
Exemple #7
0
 private void OnStartBtnClick()
 {
     PlayButtonClickSound();
     startGameRequest.SendRequest();
 }
Exemple #8
0
 private void OnStartClick()         //开始按钮
 {
     startGameRequest.SendRequest(); //发起请求
 }
 private void OnBeginClick()
 {
     startGameRequest.SendRequest();
 }
Exemple #10
0
 public void OnStartClick()
 {
     PlayClickSound();
     startGameRequest.SendRequest();
     startButton.GetComponent <Button>().enabled = false;
 }
 private void StartGameButtonClicked()
 {
     _startGameRequest.SendRequest(_p2Username);
 }
Exemple #12
0
 private void OnClickStart()
 {
     startGameRequest.SendRequest();
 }