public static ResouceLoaderRequest CreateResouceLoaderRequest(string resourcePath, Type type) { ResouceLoaderRequest request = ResouceLoaderRequestPool.Get(); request.resourcePath = resourcePath; request.type = type; return(request); }
public static void ReleaseResouceLoaderRequest(ResouceLoaderRequest request) { ResouceLoaderRequestPool.Release(request); }