Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Overview
The Motive SDK supports WebGL builds in Unity. To use WebGL, use the WebGL Player prefab. WebGL Player uses standard mouse and keyboard input instead of XR controllers.
SDK version 2.1 is recommended for WebGL support.
Configuration
WebGL Player is a drop-in replacement for Open XR or XR Toolkit player. Use Multi-Scene Setup to configure your project to support multiple platforms.
Local Development
Unity Editor
...
You can tweak how the content launches with additional launch arguments on the URL. These values will override any values in the App Config.
Parameter | Value |
---|---|
launchMethod | storyflow or launch |
motiveCloudUrl | URL to use to access Motive Cloud |
Examples
Launch in Storyflow author mode, bypassing device code input. This requires that you are logged into Storyflow in the same browser.
...
WebGL builds can be uploaded to Launch in the WebGL tab. You will point the upload to the base directory of your web build. Once uploaded, you can add WebGL builds to Modules so that they can be launched with a Launch Code.