Wasm Modules (also known was WebAssembly Modules) contain compiled executable code for the web.
A wasm module comprises three parts:
- the binary executable file
- an optional fallback asm.js
These files can be added to the project either by dragging and dropping the files into the Assets Panel or by selecting 'Upload' from the Assets Panel context menu.
Wasm Module Properties
Once the files have been added to the project, select the Wasm Module to display its properties in the Inspector Panel:
Name must match the module name defined in the glue and fallback script. This name is used to instantiate the module at load time.
This is the optional fallback asm.js script to use when WebAssembly is not supported.