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