예제 #1
0
        public static ResouceLoaderRequest CreateResouceLoaderRequest(string resourcePath, Type type)
        {
            ResouceLoaderRequest request = ResouceLoaderRequestPool.Get();

            request.resourcePath = resourcePath;
            request.type         = type;
            return(request);
        }
예제 #2
0
 public static void ReleaseResouceLoaderRequest(ResouceLoaderRequest request)
 {
     ResouceLoaderRequestPool.Release(request);
 }