threadsSupport
Multithreading support in WebGL.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static bool threadsSupport { get; set; }
Remarks
When enabled, Unity generates a WebGL build with multithreading support enabled. This support allows C/C++ code and C# jobs compiled with the Burst compiler to run on separate threads. The generated content requires a browser that supports WebAssembly threads (SharedArrayBuffer). Multithreading standard C# code is not yet available.