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

Class ScriptableBuildParameters

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

Fields

CompressOption

压缩选项

Declaration
public ECompressOption CompressOption

DisableWriteTypeTree

禁止写入类型树结构(可以降低包体和内存并提高加载效率)

Declaration
public bool DisableWriteTypeTree

IgnoreTypeTreeChanges

忽略类型树变化

Declaration
public bool IgnoreTypeTreeChanges

WriteLinkXML

生成代码防裁剪配置

Declaration
public bool WriteLinkXML

CacheServerHost

缓存服务器地址

Declaration
public string CacheServerHost

CacheServerPort

缓存服务器端口

Declaration
public int CacheServerPort

BuiltinShadersBundleName

内置着色器资源包名称

Declaration
public string BuiltinShadersBundleName

MonoScriptsBundleName

Mono脚本资源包名称

Declaration
public string MonoScriptsBundleName

Methods

GetBundleBuildParameters()

获取可编程构建管线的构建参数

Declaration
public BundleBuildParameters GetBundleBuildParameters()
Returns

UnityEditor.Build.Pipeline.BundleBuildParameters