跳到主要内容
版本:3.0.x

Class AssetDependencyCache

资源依赖关系缓存

Assembly: YooAsset.Editor.dll
View Source
Declaration
public class AssetDependencyCache

Methods

GetDependencies(string, bool)

获取资源的依赖列表

View Source
Declaration
public string[] GetDependencies(string assetPath, bool recursive = true)
Returns

System.String[]: 返回依赖的资源路径集合

Parameters
TypeNameDescription
System.StringassetPath资源路径
System.Booleanrecursive递归查找所有依赖