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