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

Class AssetBundleCollectorSettingData

Assembly: YooAsset.Editor.dll
Declaration
public class AssetBundleCollectorSettingData

Properties

IsDirty

配置数据是否被修改

Declaration
public static bool IsDirty { get; }

Setting

Declaration
public static AssetBundleCollectorSetting Setting { get; }

Methods

SaveFile()

存储配置文件

Declaration
public static void SaveFile()

FixFile()

修复配置文件

Declaration
public static void FixFile()

ClearAll()

清空所有数据

Declaration
public static void ClearAll()

GetActiveRuleNames()

Declaration
public static List<RuleDisplayName> GetActiveRuleNames()
Returns

System.Collections.Generic.List<YooAsset.Editor.RuleDisplayName>

GetAddressRuleNames()

Declaration
public static List<RuleDisplayName> GetAddressRuleNames()
Returns

System.Collections.Generic.List<YooAsset.Editor.RuleDisplayName>

GetPackRuleNames()

Declaration
public static List<RuleDisplayName> GetPackRuleNames()
Returns

System.Collections.Generic.List<YooAsset.Editor.RuleDisplayName>

GetFilterRuleNames()

Declaration
public static List<RuleDisplayName> GetFilterRuleNames()
Returns

System.Collections.Generic.List<YooAsset.Editor.RuleDisplayName>

GetIgnoreRuleNames()

Declaration
public static List<RuleDisplayName> GetIgnoreRuleNames()
Returns

System.Collections.Generic.List<YooAsset.Editor.RuleDisplayName>

HasActiveRuleName(string)

Declaration
public static bool HasActiveRuleName(string ruleName)
Returns

System.Boolean

Parameters
TypeName
System.StringruleName

HasAddressRuleName(string)

Declaration
public static bool HasAddressRuleName(string ruleName)
Returns

System.Boolean

Parameters
TypeName
System.StringruleName

HasPackRuleName(string)

Declaration
public static bool HasPackRuleName(string ruleName)
Returns

System.Boolean

Parameters
TypeName
System.StringruleName

HasFilterRuleName(string)

Declaration
public static bool HasFilterRuleName(string ruleName)
Returns

System.Boolean

Parameters
TypeName
System.StringruleName

HasIgnoreRuleName(string)

Declaration
public static bool HasIgnoreRuleName(string ruleName)
Returns

System.Boolean

Parameters
TypeName
System.StringruleName

GetActiveRuleInstance(string)

Declaration
public static IActiveRule GetActiveRuleInstance(string ruleName)
Returns

YooAsset.Editor.IActiveRule

Parameters
TypeName
System.StringruleName

GetAddressRuleInstance(string)

Declaration
public static IAddressRule GetAddressRuleInstance(string ruleName)
Returns

YooAsset.Editor.IAddressRule

Parameters
TypeName
System.StringruleName

GetPackRuleInstance(string)

Declaration
public static IPackRule GetPackRuleInstance(string ruleName)
Returns

YooAsset.Editor.IPackRule

Parameters
TypeName
System.StringruleName

GetFilterRuleInstance(string)

Declaration
public static IFilterRule GetFilterRuleInstance(string ruleName)
Returns

YooAsset.Editor.IFilterRule

Parameters
TypeName
System.StringruleName

GetIgnoreRuleInstance(string)

Declaration
public static IIgnoreRule GetIgnoreRuleInstance(string ruleName)
Returns

YooAsset.Editor.IIgnoreRule

Parameters
TypeName
System.StringruleName

ModifyShowPackageView(bool)

Declaration
public static void ModifyShowPackageView(bool showPackageView)
Parameters
TypeName
System.BooleanshowPackageView

ModifyShowEditorAlias(bool)

Declaration
public static void ModifyShowEditorAlias(bool showAlias)
Parameters
TypeName
System.BooleanshowAlias

ModifyUniqueBundleName(bool)

Declaration
public static void ModifyUniqueBundleName(bool uniqueBundleName)
Parameters
TypeName
System.BooleanuniqueBundleName

CreatePackage(string)

Declaration
public static AssetBundleCollectorPackage CreatePackage(string packageName)
Returns

YooAsset.Editor.AssetBundleCollectorPackage

Parameters
TypeName
System.StringpackageName

RemovePackage(AssetBundleCollectorPackage)

Declaration
public static void RemovePackage(AssetBundleCollectorPackage package)
Parameters
TypeName
YooAsset.Editor.AssetBundleCollectorPackagepackage

ModifyPackage(AssetBundleCollectorPackage)

Declaration
public static void ModifyPackage(AssetBundleCollectorPackage package)
Parameters
TypeName
YooAsset.Editor.AssetBundleCollectorPackagepackage

CreateGroup(AssetBundleCollectorPackage, string)

Declaration
public static AssetBundleCollectorGroup CreateGroup(AssetBundleCollectorPackage package, string groupName)
Returns

YooAsset.Editor.AssetBundleCollectorGroup

Parameters
TypeName
YooAsset.Editor.AssetBundleCollectorPackagepackage
System.StringgroupName

RemoveGroup(AssetBundleCollectorPackage, AssetBundleCollectorGroup)

Declaration
public static void RemoveGroup(AssetBundleCollectorPackage package, AssetBundleCollectorGroup group)
Parameters
TypeName
YooAsset.Editor.AssetBundleCollectorPackagepackage
YooAsset.Editor.AssetBundleCollectorGroupgroup

ModifyGroup(AssetBundleCollectorPackage, AssetBundleCollectorGroup)

Declaration
public static void ModifyGroup(AssetBundleCollectorPackage package, AssetBundleCollectorGroup group)
Parameters
TypeName
YooAsset.Editor.AssetBundleCollectorPackagepackage
YooAsset.Editor.AssetBundleCollectorGroupgroup

CreateCollector(AssetBundleCollectorGroup, AssetBundleCollector)

Declaration
public static void CreateCollector(AssetBundleCollectorGroup group, AssetBundleCollector collector)
Parameters
TypeName
YooAsset.Editor.AssetBundleCollectorGroupgroup
YooAsset.Editor.AssetBundleCollectorcollector

RemoveCollector(AssetBundleCollectorGroup, AssetBundleCollector)

Declaration
public static void RemoveCollector(AssetBundleCollectorGroup group, AssetBundleCollector collector)
Parameters
TypeName
YooAsset.Editor.AssetBundleCollectorGroupgroup
YooAsset.Editor.AssetBundleCollectorcollector

ModifyCollector(AssetBundleCollectorGroup, AssetBundleCollector)

Declaration
public static void ModifyCollector(AssetBundleCollectorGroup group, AssetBundleCollector collector)
Parameters
TypeName
YooAsset.Editor.AssetBundleCollectorGroupgroup
YooAsset.Editor.AssetBundleCollectorcollector

GetPackageAllTags(string)

获取所有的资源标签

Declaration
public static string GetPackageAllTags(string packageName)
Returns

System.String

Parameters
TypeName
System.StringpackageName