Class AssetArtScanner
Assembly: YooAsset.Editor.dll
Declaration
[Serializable]
public class AssetArtScanner
Fields
ScannerGUID
扫描器GUID
Declaration
public string ScannerGUID
ScannerName
扫描器名称
Declaration
public string ScannerName
ScannerDesc
扫描器描述
Declaration
public string ScannerDesc
ScannerSchema
扫描模式 注意:文件路径或文件GUID
Declaration
public string ScannerSchema
SaveDirectory
存储目录
Declaration
public string SaveDirectory
Collectors
收集列表
Declaration
public List<AssetArtCollector> Collectors
WhiteList
白名单
Declaration
public List<string> WhiteList
Methods
CheckKeyword(string)
检测关键字匹配
Declaration
public bool CheckKeyword(string keyword)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | keyword |
CheckWhiteList(string)
是否在白名单里
Declaration
public bool CheckWhiteList(string guid)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | guid |
CheckConfigError()
检测配置错误
Declaration
public void CheckConfigError()
LoadSchema()
加载扫描模式实例
Declaration
public ScannerSchema LoadSchema()
Returns
RunScanner()
运行扫描器生成报告类
Declaration
public ScanReport RunScanner()