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

Class AssetArtScannerSettingData

Assembly: YooAsset.Editor.dll
Declaration
public class AssetArtScannerSettingData

Properties

IsDirty

配置数据是否被修改

Declaration
public static bool IsDirty { get; }

Setting

Declaration
public static AssetArtScannerSetting Setting { get; }

Methods

SaveFile()

存储配置文件

Declaration
public static void SaveFile()

ClearAll()

清空所有数据

Declaration
public static void ClearAll()

ScanAll()

扫描所有项

Declaration
public static void ScanAll()

ScanAll(string)

扫描所有项

Declaration
public static void ScanAll(string keyword)
Parameters
TypeName
System.Stringkeyword

Scan(string)

扫描单项

Declaration
public static ScannerResult Scan(string scannerGUID)
Returns

YooAsset.Editor.ScannerResult

Parameters
TypeName
System.StringscannerGUID

CreateScanner(string, string)

Declaration
public static AssetArtScanner CreateScanner(string name, string desc)
Returns

YooAsset.Editor.AssetArtScanner

Parameters
TypeName
System.Stringname
System.Stringdesc

RemoveScanner(AssetArtScanner)

Declaration
public static void RemoveScanner(AssetArtScanner scanner)
Parameters
TypeName
YooAsset.Editor.AssetArtScannerscanner

ModifyScanner(AssetArtScanner)

Declaration
public static void ModifyScanner(AssetArtScanner scanner)
Parameters
TypeName
YooAsset.Editor.AssetArtScannerscanner

CreateCollector(AssetArtScanner, AssetArtCollector)

Declaration
public static void CreateCollector(AssetArtScanner scanner, AssetArtCollector collector)
Parameters
TypeName
YooAsset.Editor.AssetArtScannerscanner
YooAsset.Editor.AssetArtCollectorcollector

RemoveCollector(AssetArtScanner, AssetArtCollector)

Declaration
public static void RemoveCollector(AssetArtScanner scanner, AssetArtCollector collector)
Parameters
TypeName
YooAsset.Editor.AssetArtScannerscanner
YooAsset.Editor.AssetArtCollectorcollector

ModifyCollector(AssetArtScanner, AssetArtCollector)

Declaration
public static void ModifyCollector(AssetArtScanner scanner, AssetArtCollector collector)
Parameters
TypeName
YooAsset.Editor.AssetArtScannerscanner
YooAsset.Editor.AssetArtCollectorcollector