기술 자료

Unity Engine

Unity Engine

webGLUsePreBuiltUnityEngine

Use prebuilt JavaScript version of Unity engine.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
경고
Removed. Building with pre-built Engine option is no longer supported.
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.