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

Class AssetBundleCollectorSettingData

Assembly: YooAsset.Editor.dll
View Source
Declaration
public class AssetBundleCollectorSettingData

Properties

IsDirty

配置数据是否被修改

View Source
Declaration
public static bool IsDirty { get; }

Setting

View Source
Declaration
public static AssetBundleCollectorSetting Setting { get; }

Methods

SaveFile()

存储配置文件

View Source
Declaration
public static void SaveFile()

FixFile()

修复配置文件

View Source
Declaration
public static void FixFile()

ClearAll()

清空所有数据

View Source
Declaration
public static void ClearAll()

GetActiveRuleNames()

View Source
Declaration
public static List<RuleDisplayName> GetActiveRuleNames()
Returns

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

GetAddressRuleNames()

View Source
Declaration
public static List<RuleDisplayName> GetAddressRuleNames()
Returns

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

GetPackRuleNames()

View Source
Declaration
public static List<RuleDisplayName> GetPackRuleNames()
Returns

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

GetFilterRuleNames()

View Source
Declaration
public static List<RuleDisplayName> GetFilterRuleNames()
Returns

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

HasActiveRuleName(string)

View Source
Declaration
public static bool HasActiveRuleName(string ruleName)
Returns

System.Boolean

Parameters
TypeName
System.StringruleName

HasAddressRuleName(string)

View Source
Declaration
public static bool HasAddressRuleName(string ruleName)
Returns

System.Boolean

Parameters
TypeName
System.StringruleName

HasPackRuleName(string)

View Source
Declaration
public static bool HasPackRuleName(string ruleName)
Returns

System.Boolean

Parameters
TypeName
System.StringruleName

HasFilterRuleName(string)

View Source
Declaration
public static bool HasFilterRuleName(string ruleName)
Returns

System.Boolean

Parameters
TypeName
System.StringruleName

GetActiveRuleInstance(string)

View Source
Declaration
public static IActiveRule GetActiveRuleInstance(string ruleName)
Returns

YooAsset.Editor.IActiveRule

Parameters
TypeName
System.StringruleName

GetAddressRuleInstance(string)

View Source
Declaration
public static IAddressRule GetAddressRuleInstance(string ruleName)
Returns

YooAsset.Editor.IAddressRule

Parameters
TypeName
System.StringruleName

GetPackRuleInstance(string)

View Source
Declaration
public static IPackRule GetPackRuleInstance(string ruleName)
Returns

YooAsset.Editor.IPackRule

Parameters
TypeName
System.StringruleName

GetFilterRuleInstance(string)

View Source
Declaration
public static IFilterRule GetFilterRuleInstance(string ruleName)
Returns

YooAsset.Editor.IFilterRule

Parameters
TypeName
System.StringruleName

ModifyPackageView(bool)

View Source
Declaration
public static void ModifyPackageView(bool showPackageView)
Parameters
TypeName
System.BooleanshowPackageView

ModifyAddressable(bool)

View Source
Declaration
public static void ModifyAddressable(bool enableAddressable)
Parameters
TypeName
System.BooleanenableAddressable

ModifyUniqueBundleName(bool)

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

ModifyShowEditorAlias(bool)

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

CreatePackage(string)

View Source
Declaration
public static AssetBundleCollectorPackage CreatePackage(string packageName)
Returns

YooAsset.Editor.AssetBundleCollectorPackage

Parameters
TypeName
System.StringpackageName

RemovePackage(AssetBundleCollectorPackage)

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

ModifyPackage(AssetBundleCollectorPackage)

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

CreateGroup(AssetBundleCollectorPackage, string)

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

YooAsset.Editor.AssetBundleCollectorGroup

Parameters
TypeName
YooAsset.Editor.AssetBundleCollectorPackagepackage
System.StringgroupName

RemoveGroup(AssetBundleCollectorPackage, AssetBundleCollectorGroup)

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

ModifyGroup(AssetBundleCollectorPackage, AssetBundleCollectorGroup)

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

CreateCollector(AssetBundleCollectorGroup, AssetBundleCollector)

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

RemoveCollector(AssetBundleCollectorGroup, AssetBundleCollector)

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

ModifyCollector(AssetBundleCollectorGroup, AssetBundleCollector)

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

GetPackageAllTags(string)

获取所有的资源标签

View Source
Declaration
public static string GetPackageAllTags(string packageName)
Returns

System.String

Parameters
TypeName
System.StringpackageName