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

Class AssetBundleCollectorPackage

Assembly: YooAsset.Editor.dll
Declaration
[Serializable]
public class AssetBundleCollectorPackage

Fields

PackageName

包裹名称

Declaration
public string PackageName

PackageDesc

包裹描述

Declaration
public string PackageDesc

EnableAddressable

启用可寻址资源定位

Declaration
public bool EnableAddressable

LocationToLower

资源定位地址大小写不敏感

Declaration
public bool LocationToLower

IncludeAssetGUID

包含资源GUID数据

Declaration
public bool IncludeAssetGUID

AutoCollectShaders

自动收集所有着色器(所有着色器存储在一个资源包内)

Declaration
public bool AutoCollectShaders

IgnoreRuleName

资源忽略规则名

Declaration
public string IgnoreRuleName

Groups

分组列表

Declaration
public List<AssetBundleCollectorGroup> Groups

Methods

CheckConfigError()

检测配置错误

Declaration
public void CheckConfigError()

FixConfigError()

修复配置错误

Declaration
public bool FixConfigError()
Returns

System.Boolean

GetCollectAssets(CollectCommand)

获取收集的资源列表

Declaration
public List<CollectAssetInfo> GetCollectAssets(CollectCommand command)
Returns

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

Parameters
TypeName
YooAsset.Editor.CollectCommandcommand

GetAllTags()

获取所有的资源标签

Declaration
public List<string> GetAllTags()
Returns

System.Collections.Generic.List<System.String>