private void OnSetUserResponse(AsyncNetworkResult result, SetUserResponse response, GenericErrorResponse error) { if (result == AsyncNetworkResult.E_NETWORK) { //RETRY } Debug.Log("Result:" + result); Debug.Log("Response:" + (response != null ? response.ToString() : "null")); Debug.Log("Result:" + (error != null ? error.ToString() : "null")); }
private void OnGetUserResponse(AsyncNetworkResult result, GetUserResponse response, GenericErrorResponse error) { Debug.Log("Result:" + result); Debug.Log("Response:" + (response != null? response.ToString() : "null")); Debug.Log("Result:" + (error != null? error.ToString() : "null")); }