文档

Unity Engine

Unity Engine

linkerTarget

The web build format that is used when you build your project. This property has been deprecated.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
警告
Deprecated. linkerTarget is deprecated. Web builds always use WebAssembly.
public static WebGLLinkerTarget linkerTarget { get; set; }

Remarks

Web builds always use WebAssembly, so this property has no effect. If you set this property to WebGLLinkerTarget.Asm, Unity logs a warning and switches the setting to WebGLLinkerTarget.Wasm when you build.