private IEnumerator WaitForPipeResponse( ArcadeFacebook.OnComplete onCompleteDelegate, string callbackId) { while (!this.ArcadeFacebookImpl.HaveReceivedPipeResponse()) { yield return null; } onCompleteDelegate(new ResultContainer(this.ArcadeFacebookImpl.GetPipeResponse(callbackId))); }
public void WaitForResponse( ArcadeFacebook.OnComplete onCompleteDelegate, string callbackId) { this.StartCoroutine(this.WaitForPipeResponse(onCompleteDelegate, callbackId)); }