文档

Unity Engine

Unity Engine

linkerTarget

Allows you to specify the web build format that is used when you build your project.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static WebGLLinkerTarget linkerTarget { get; set; }

Remarks

You can choose either asm.js, WebAssembly, or both. WebAssembly is the default linker target. asm.js is the legacy format, which should only be used as a run-time fallback or for debugging purposes.