Skip to content

Instantly share code, notes, and snippets.

Marco Trivellato mtrive

Block or report user

Report or block mtrive

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mtrive / EnableThreads.cs
Last active Nov 28, 2019
Unity Editor script to enable WebAssembly multithreading
View EnableThreads.cs
using UnityEditor;
using UnityEngine;
class EnableThreads
static EnableThreads()
PlayerSettings.WebGL.linkerTarget = WebGLLinkerTarget.Wasm;
PlayerSettings.WebGL.threadsSupport = true;
You can’t perform that action at this time.