Version: 2023.2
public static bool threadsSupport ;

描述

Multithreading support in WebGL.

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.