Exemplo n.º 1
0
    public void GetAppStateData()
    {
        string param = JsonUtility.ToJson(data);

        var form = HttpTool.CommonGetRequestUrl("simoncatdatasave", param);

        StartCoroutine(HttpTool.SendHttp(form, OnDemo));
    }
Exemplo n.º 2
0
    public void TestApp()
    {
        test2 data = new test2("1000");

        string param = JsonUtility.ToJson(data);

        var form = HttpTool.CommonGetRequestUrl("SimonCatDataGet", param);

        StartCoroutine(HttpTool.SendHttp(form, OnDemo));
    }