Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

PlayerSettings.WebGL.linkerTarget

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual
public static var linkerTarget: WebGLLinkerTarget;
public static WebGLLinkerTarget linkerTarget;

Description

Allows you to specify the web build format that is used when you build your project.

You can choose either asm.js, WebAssembly, or both. asm.js is the default, and the most widely supported format. WebAssembly is a newer more efficient web format, but is not yet so widely supported by web browsers. The WebAssembly build option in Unity is currently experimental.

Did you find this page useful? Please give it a rating: