文档

Unity Engine

Unity Engine

LoadAsync(string, Type)

Override for customizing the behavior of the Resources.LoadAsync function.
阅读时间1 分钟最后更新于 1 天前

Definition

protected virtual ResourceRequest LoadAsync(string path, Type systemTypeInstance)

Parameters

path

Path to the target resource to load.

systemTypeInstance

Type filter for objects returned.

Returns

Type

Description

ResourceRequest

Remarks

Note: AssetBundleRequest inherits from ResourceRequest and can also be returned here.