Class CollectCommand
Assembly: YooAsset.Editor.dll
Declaration
public class CollectCommand
Properties
PackageName
包裹名称
Declaration
public string PackageName { get; }
IgnoreRule
忽略规则实例
Declaration
public IIgnoreRule IgnoreRule { get; }
SimulateBuild
模拟构建模式
Declaration
public bool SimulateBuild { set; }
CollectFlags
窗口收集模式
Declaration
public int CollectFlags { get; set; }
UniqueBundleName
资源包名唯一化
Declaration
public bool UniqueBundleName { get; set; }
UseAssetDependencyDB
使用资源依赖数据库
Declaration
public bool UseAssetDependencyDB { get; set; }
EnableAddressable
启用可寻址资源定位
Declaration
public bool EnableAddressable { get; set; }
SupportExtensionless
支持无后缀名的资源定位地址
Declaration
public bool SupportExtensionless { get; set; }
LocationToLower
资源定位地址大小写不敏感
Declaration
public bool LocationToLower { get; set; }
IncludeAssetGUID
包含资源GUID数据
Declaration
public bool IncludeAssetGUID { get; set; }
AutoCollectShaders
自动收集所有着色器
Declaration
public bool AutoCollectShaders { get; set; }
AssetDependency
Declaration
public AssetDependencyCache AssetDependency { get; }
Methods
SetFlag(ECollectFlags, bool)
设置标记位
Declaration
public void SetFlag(ECollectFlags flag, bool isOn)
Parameters
Type | Name |
---|---|
YooAsset.Editor.ECollectFlags | flag |
System.Boolean | isOn |
IsFlagSet(ECollectFlags)
查询标记位
Declaration
public bool IsFlagSet(ECollectFlags flag)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
YooAsset.Editor.ECollectFlags | flag |