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
Type | Name |
---|---|
System.String | ruleName |
HasAddressRuleName(string)
Declaration
public static bool HasAddressRuleName(string ruleName)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | ruleName |
HasPackRuleName(string)
Declaration
public static bool HasPackRuleName(string ruleName)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | ruleName |
HasFilterRuleName(string)
Declaration
public static bool HasFilterRuleName(string ruleName)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | ruleName |
HasIgnoreRuleName(string)
Declaration
public static bool HasIgnoreRuleName(string ruleName)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | ruleName |
GetActiveRuleInstance(string)
Declaration
public static IActiveRule GetActiveRuleInstance(string ruleName)
Returns
Parameters
Type | Name |
---|---|
System.String | ruleName |
GetAddressRuleInstance(string)
Declaration
public static IAddressRule GetAddressRuleInstance(string ruleName)
Returns
Parameters
Type | Name |
---|---|
System.String | ruleName |
GetPackRuleInstance(string)
Declaration
public static IPackRule GetPackRuleInstance(string ruleName)
Returns
Parameters
Type | Name |
---|---|
System.String | ruleName |
GetFilterRuleInstance(string)
Declaration
public static IFilterRule GetFilterRuleInstance(string ruleName)
Returns
Parameters
Type | Name |
---|---|
System.String | ruleName |
GetIgnoreRuleInstance(string)
Declaration
public static IIgnoreRule GetIgnoreRuleInstance(string ruleName)
Returns
Parameters
Type | Name |
---|---|
System.String | ruleName |
ModifyShowPackageView(bool)
Declaration
public static void ModifyShowPackageView(bool showPackageView)
Parameters
Type | Name |
---|---|
System.Boolean | showPackageView |
ModifyShowEditorAlias(bool)
Declaration
public static void ModifyShowEditorAlias(bool showAlias)
Parameters
Type | Name |
---|---|
System.Boolean | showAlias |
ModifyUniqueBundleName(bool)
Declaration
public static void ModifyUniqueBundleName(bool uniqueBundleName)
Parameters
Type | Name |
---|---|
System.Boolean | uniqueBundleName |
CreatePackage(string)
Declaration
public static AssetBundleCollectorPackage CreatePackage(string packageName)
Returns
YooAsset.Editor.AssetBundleCollectorPackage
Parameters
Type | Name |
---|---|
System.String | packageName |
RemovePackage(AssetBundleCollectorPackage)
Declaration
public static void RemovePackage(AssetBundleCollectorPackage package)
Parameters
Type | Name |
---|---|
YooAsset.Editor.AssetBundleCollectorPackage | package |
ModifyPackage(AssetBundleCollectorPackage)
Declaration
public static void ModifyPackage(AssetBundleCollectorPackage package)
Parameters
Type | Name |
---|---|
YooAsset.Editor.AssetBundleCollectorPackage | package |
CreateGroup(AssetBundleCollectorPackage, string)
Declaration
public static AssetBundleCollectorGroup CreateGroup(AssetBundleCollectorPackage package, string groupName)
Returns
YooAsset.Editor.AssetBundleCollectorGroup
Parameters
Type | Name |
---|---|
YooAsset.Editor.AssetBundleCollectorPackage | package |
System.String | groupName |
RemoveGroup(AssetBundleCollectorPackage, AssetBundleCollectorGroup)
Declaration
public static void RemoveGroup(AssetBundleCollectorPackage package, AssetBundleCollectorGroup group)
Parameters
Type | Name |
---|---|
YooAsset.Editor.AssetBundleCollectorPackage | package |
YooAsset.Editor.AssetBundleCollectorGroup | group |
ModifyGroup(AssetBundleCollectorPackage, AssetBundleCollectorGroup)
Declaration
public static void ModifyGroup(AssetBundleCollectorPackage package, AssetBundleCollectorGroup group)
Parameters
Type | Name |
---|---|
YooAsset.Editor.AssetBundleCollectorPackage | package |
YooAsset.Editor.AssetBundleCollectorGroup | group |
CreateCollector(AssetBundleCollectorGroup, AssetBundleCollector)
Declaration
public static void CreateCollector(AssetBundleCollectorGroup group, AssetBundleCollector collector)
Parameters
Type | Name |
---|---|
YooAsset.Editor.AssetBundleCollectorGroup | group |
YooAsset.Editor.AssetBundleCollector | collector |
RemoveCollector(AssetBundleCollectorGroup, AssetBundleCollector)
Declaration
public static void RemoveCollector(AssetBundleCollectorGroup group, AssetBundleCollector collector)
Parameters
Type | Name |
---|---|
YooAsset.Editor.AssetBundleCollectorGroup | group |
YooAsset.Editor.AssetBundleCollector | collector |
ModifyCollector(AssetBundleCollectorGroup, AssetBundleCollector)
Declaration
public static void ModifyCollector(AssetBundleCollectorGroup group, AssetBundleCollector collector)
Parameters
Type | Name |
---|---|
YooAsset.Editor.AssetBundleCollectorGroup | group |
YooAsset.Editor.AssetBundleCollector | collector |
GetPackageAllTags(string)
获取所有的资源标签
Declaration
public static string GetPackageAllTags(string packageName)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | packageName |