static IEnumerator OnLoading(AssetLoadRequest request) { while (!request.request.isDone) { yield return(null); } if (request.callback != null) { request.callback(request.request.asset); } else { UnityEngine.Object.Destroy(request.request.asset); } mRequests.Remove(request.path); mRequestList.Remove(request); }