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

Class AssetDependencyCache

Assembly: YooAsset.Editor.dll​
Declaration
public class AssetDependencyCache

Methods​

GetDependencies(string, bool)​

获取资源的依赖列表

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

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

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