Ejemplo n.º 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);
 }
Ejemplo n.º 2
0
 public void TestMatch()
 {
     NetworkManager.Send(
         MatchStatusProtocol.Prepare(playerID1, "testName"),
         ProcessMatchStatus);
 }