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