文档

Unity Engine

Unity Engine

threadsSupport

Multithreading support in WebGL.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static bool threadsSupport { get; set; }

Remarks

When enabled, Unity generates a WebGL build with multithreading support enabled. The generated content requires a browser that supports WebAssembly threads (SharedArrayBuffer). Currently, multithreaded WebGL builds only enable multithreading on the native C/C++ language level. Multithreading C# code is not yet available.