示例#1
0
    public void ChangeName()
    {
        Network.Username = NameInput.text;

        string nameChange = "SET_NAME" + Network.Username;

        NetworkManager.GetComponent <NetworkingClient>();
        Network.writeCommand(nameChange);
    }
示例#2
0
 public void getPlayers()
 {
     Client.writeCommand("GAME_" + "GETPLAYERS");
 }