Exemplo n.º 1
0
        public static ResouceLoaderRequest CreateResouceLoaderRequest(string resourcePath, Type type)
        {
            ResouceLoaderRequest request = ResouceLoaderRequestPool.Get();

            request.resourcePath = resourcePath;
            request.type         = type;
            return(request);
        }
Exemplo n.º 2
0
 public static void ReleaseResouceLoaderRequest(ResouceLoaderRequest request)
 {
     ResouceLoaderRequestPool.Release(request);
 }