Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


WebGLLinkerTarget

The build format options available when building to Web. This enum has been deprecated.
Read time 1 minuteLast updated 7 days ago

Definition

  • Type: Enum
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
Warning
Deprecated. WebGLLinkerTarget is deprecated. Web builds always use WebAssembly.
public enum WebGLLinkerTarget

Remarks

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

Fields

Value

Description

AsmPreviously generated asm.js output. This setting has been deprecated. If you build with this value, Unity logs a warning and generates WebAssembly output instead.
WasmOnly WebAssembly output is generated. This setting has been deprecated.