webGLUsePreBuiltUnityEngine
Use prebuilt JavaScript version of Unity engine.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static bool webGLUsePreBuiltUnityEngine { get; set; }
Remarks
This option is passed to the emscripten compiler for WebGL builds. If enabled, then only the user script code will be compiled to JavaScript and linked dynamically with a prebuilt Unity engine JavaScript module, which significantly reduces build iteration time. The prebuilt Unity engine module is unstripped and therefore is not suitable for release builds. For that reason this property only has effect on development builds, and is ignored otherwise.