Basics
Documentation and tutorials for basic use cases.
📄️ Using WASM In Scripts
This tutorial will walk you through importing a WASM file into the editor and using the SimpleWasmMonoBehaviour to instantiate a WASM module in a script.
📄️ Addressable Loading
Using Addressable Loading requires the Unity Addressable Asset System.
📄️ Calling C# Code From WASM
Once a WASM module has been instantiated WASM code can be executed in a completely contained "sandbox" - the WASM code cannot interact with anything outside of the box. This is excellent for ensuring security and determinism, but it does significantly limit the capabilities of WASM code. The Linker allows C# methods to be exposed to the sandbox, allowing WASM code to call it directly.
🗃️ WASI
1 items
🗃️ Limiting Execution Time
2 items
📄️ WASM In Jobs
The wrapper code which Wasmbox automatically generates is designed to work within the Unity Job safety system. A wrapper requires write access for every operation, so it can only be used within one single job.
🗃️ Compiling To WASM
5 items