1
This commit is contained in:
@@ -243,6 +243,7 @@ namespace Assets.MyGame.Scripts.Net
|
||||
if (req.result == UnityWebRequest.Result.Success)
|
||||
{
|
||||
var json = req.downloadHandler.text;
|
||||
Debug.Log("url----" + url + "--" + "Json-" + json );
|
||||
var res = JsonConvert.DeserializeObject<APIResponse<T>>(json);
|
||||
#if UNITY_EDITOR
|
||||
Debug.Log("url----" + url + "--" + "Json-" + json + "res--" + JsonConvert.SerializeObject(res));
|
||||
|
||||
Reference in New Issue
Block a user