We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6480ee commit 548b923Copy full SHA for 548b923
Samples~/DallE/DallE.cs
@@ -36,7 +36,7 @@ private async void SendImageRequest()
36
request.downloadHandler = new DownloadHandlerBuffer();
37
request.SendWebRequest();
38
39
- while (!request.isDone) Task.Yield();
+ while (!request.isDone) await Task.Yield();
40
41
Texture2D texture = new Texture2D(2, 2);
42
texture.LoadImage(request.downloadHandler.data);
0 commit comments