Пример #1
0
 public void SimplePutCall(string fullUrl, byte[] payload, Action successCallback, Action <string> errorCallback)
 {
     SingletonMonoBehaviour <PlayFabHttp> .instance.StartCoroutine(PlayFabUnityHttp.SimpleCallCoroutine(fullUrl, payload, delegate(byte[] result)
     {
         successCallback();
     }, errorCallback));
 }
Пример #2
0
 public void SimpleGetCall(string fullUrl, Action <byte[]> successCallback, Action <string> errorCallback)
 {
     SingletonMonoBehaviour <PlayFabHttp> .instance.StartCoroutine(PlayFabUnityHttp.SimpleCallCoroutine(fullUrl, null, successCallback, errorCallback));
 }