private void internalCallback() { if (_callback != null) { _callback(_getMyWwwFacade.getStatusFromFinishedWWW(_www, _sw, _callParams)); } }
private WebServiceReturnStatus doWWWCall(WWW www, ITransfluentParameters wsParams = null) { var sw = new Stopwatch(); sw.Start(); while (true) { if (www.isDone) { break; } if (www.error != null) { break; } if (sw.Elapsed.TotalSeconds >= 1000f) { break; } //EditorApplication.Step(); Thread.Sleep(100); } return(_getMyWwwFacade.getStatusFromFinishedWWW(www, sw, wsParams)); }