Exemplo n.º 1
0
    void CheckInput()
    {
        if (Input.GetMouseButtonUp(0))
        {
            //var dataCpp = networkBehavior.AskData(SEVER_ADDRESS_CPP, "player01;100;200_login");
            //Debug.Log("Client receive data from CPP server: " + dataCpp);

            //var dataGo = networkBehavior.AskData(SEVER_ADDRESS_GO, "player01;100;200_login");
            //Debug.Log("Client receive data from Go server: " + dataGo);

            var dataScala = networkBehavior.AskData(SEVER_ADDRESS_SCALA, "player01;100;200_login");
            Debug.Log("Client receive from scala server: " + dataScala);
        }
    }