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

Class BuildParameters

构建参数

Assembly: YooAsset.Editor.dll
Declaration
public abstract class BuildParameters

Fields

BuildOutputRoot

构建输出的根目录

Declaration
public string BuildOutputRoot

BuildinFileRoot

内置文件的根目录

Declaration
public string BuildinFileRoot

BuildPipeline

构建管线名称

Declaration
public string BuildPipeline

BuildBundleType

构建资源包类型

Declaration
public int BuildBundleType

BuildTarget

构建的平台

Declaration
public BuildTarget BuildTarget

PackageName

构建的包裹名称

Declaration
public string PackageName

PackageVersion

构建的包裹版本

Declaration
public string PackageVersion

PackageNote

构建的包裹备注

Declaration
public string PackageNote

ClearBuildCacheFiles

清空构建缓存文件

Declaration
public bool ClearBuildCacheFiles

UseAssetDependencyDB

使用资源依赖缓存数据库 说明:开启此项可以极大提高资源收集速度!

Declaration
public bool UseAssetDependencyDB

EnableSharePackRule

启用共享资源打包

Declaration
public bool EnableSharePackRule

SingleReferencedPackAlone

对单独引用的共享资源进行独立打包 说明:关闭该选项单独引用的共享资源将会构建到引用它的资源包内!

Declaration
public bool SingleReferencedPackAlone

VerifyBuildingResult

验证构建结果

Declaration
public bool VerifyBuildingResult

FileNameStyle

资源包名称样式

Declaration
public EFileNameStyle FileNameStyle

BuildinFileCopyOption

内置文件的拷贝选项

Declaration
public EBuildinFileCopyOption BuildinFileCopyOption

BuildinFileCopyParams

内置文件的拷贝参数

Declaration
public string BuildinFileCopyParams

EncryptionServices

资源包加密服务类

Declaration
public IEncryptionServices EncryptionServices

Methods

CheckBuildParameters()

检测构建参数是否合法

Declaration
public virtual void CheckBuildParameters()

GetPipelineOutputDirectory()

获取构建管线的输出目录

Declaration
public virtual string GetPipelineOutputDirectory()
Returns

System.String

GetPackageOutputDirectory()

获取本次构建的补丁输出目录

Declaration
public virtual string GetPackageOutputDirectory()
Returns

System.String

GetPackageRootDirectory()

获取本次构建的补丁根目录

Declaration
public virtual string GetPackageRootDirectory()
Returns

System.String

GetBuildinRootDirectory()

获取内置资源的根目录

Declaration
public virtual string GetBuildinRootDirectory()
Returns

System.String