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