namespace YooAsset.Editor { public class CollectCommand { /// /// 包裹名称 /// public string PackageName { private set; get; } /// /// 忽略规则实例 /// public IIgnoreRule IgnoreRule { private set; get; } /// /// 模拟构建模式 /// public bool SimulateBuild { set; get; } /// /// 资源包名唯一化 /// public bool UniqueBundleName { set; get; } /// /// 使用资源依赖数据库 /// public bool UseAssetDependencyDB { set; get; } /// /// 启用可寻址资源定位 /// public bool EnableAddressable { set; get; } /// /// 资源定位地址大小写不敏感 /// public bool LocationToLower { set; get; } /// /// 包含资源GUID数据 /// public bool IncludeAssetGUID { set; get; } /// /// 自动收集所有着色器 /// public bool AutoCollectShaders { set; get; } private AssetDependencyCache _assetDependency; public AssetDependencyCache AssetDependency { get { if (_assetDependency == null) _assetDependency = new AssetDependencyCache(UseAssetDependencyDB); return _assetDependency; } } public CollectCommand(string packageName, IIgnoreRule ignoreRule) { PackageName = packageName; IgnoreRule = ignoreRule; } } }