コード例 #1
0
 protected override void RunResourceLoader <T> (LoadResourceRunner <T> loader)
 {
     if (ConcurrentRequestsLimit > 0 && RequestsCount > ConcurrentRequestsLimit)
     {
         requestQueue.Enqueue(() => loader.RunAsync().WrapAsync());
     }
     else
     {
         base.RunResourceLoader(loader);
     }
 }
コード例 #2
0
 protected virtual void RunResourceLoader <T> (LoadResourceRunner <T> loader) where T : UnityEngine.Object => loader.Run().WrapAsync();