From 0b7dff6bbf1c5c572e8eb424ddeb0601f58fcd32 Mon Sep 17 00:00:00 2001 From: sin365 <353374337@qq.com> Date: Thu, 26 Sep 2024 22:44:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=20UnityWaitOSRequest.cs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- UnityWaitOSRequest.cs | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 UnityWaitOSRequest.cs diff --git a/UnityWaitOSRequest.cs b/UnityWaitOSRequest.cs deleted file mode 100644 index 911424d..0000000 --- a/UnityWaitOSRequest.cs +++ /dev/null @@ -1,19 +0,0 @@ -using OnlySocketHttp; -using UnityEngine; - -class UnityWaitOSRequest : CustomYieldInstruction -{ - RequestAsync mReqAsync; - public UnityWaitOSRequest(RequestAsync reqAsync) - { - mReqAsync = reqAsync; - } - ~UnityWaitOSRequest() - { - mReqAsync = null; - } - public override bool keepWaiting - { - get { return !mReqAsync.isDone; } - } -} \ No newline at end of file