删除 UnityWaitOSRequest.cs
This commit is contained in:
parent
34e00f9e1b
commit
0b7dff6bbf
@ -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; }
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user