文档

Unity Engine

Unity Engine

PreloadAsync(string[])

Creates an On Demand Resources (ODR) request.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static OnDemandResourcesRequest PreloadAsync(string[] tags)

Parameters

Tags for On Demand Resources that should be included in the request.

Returns

Type

Description

OnDemandResourcesRequestObject representing ODR request.

Remarks

The request will include all resources indicated by the given tags. If operation completes successfuly, then the request object will keep those resources alive until OnDemandResourcesRequest.Dispose is called or the request gets collected by a garbage collector.
Additional Resources: OnDemandResourcesRequest.