예제 #1
0
 // Let server know that you are logged into the game
 public void setMatchStatus()
 {
     Debug.Log("Setting match for playerID: " + GameManager.player1.playerID);
     //Informs the Server we are ready for take off
     NetworkManager.Send(
         MatchStatusProtocol.Prepare(GameManager.player1.playerID, GameManager.player1.playerName),
         ProcessMatchStatus);
 }
예제 #2
0
 public void TestMatch()
 {
     NetworkManager.Send(
         MatchStatusProtocol.Prepare(playerID1, "testName"),
         ProcessMatchStatus);
 }