Class AssetDependencyDatabase
资源依赖数据库
Assembly: YooAsset.Editor.dll
Declaration
public class AssetDependencyDatabase
Methods
CreateDatabase(bool, string)
创建缓存数据库
Declaration
public void CreateDatabase(bool readCacheDatabaseFile, string databaseFilePath)
Parameters
Type | Name |
---|---|
System.Boolean | readCacheDatabaseFile |
System.String | databaseFilePath |
SaveDatabase()
保存缓存数据库
Declaration
public void SaveDatabase()
ClearDatabase(bool)
清理缓存数据库
Declaration
public void ClearDatabase(bool deleteDatabaseFile)
Parameters
Type | Name |
---|---|
System.Boolean | deleteDatabaseFile |
GetDependencies(string, bool)
获取资源的依赖列表
Declaration
public string[] GetDependencies(string assetPath, bool recursive)
Returns
System.String[]
Parameters
Type | Name |
---|---|
System.String | assetPath |
System.Boolean | recursive |