/
WebGL Keyboard/Mouse Layout Testing

WebGL Keyboard/Mouse Layout Testing

Setup

  1. Make sure you have Unity Version 2020.3.21f1 installed on Unity Hub

  2. Next, clone motive_io / workshop-sandbox — Bitbucket and make sure you check out the Adam-WebGL branch

  3. Afterwards, add the Motive Submodule using SourceTree. Or, clone this motive_io / unity-sdk-private — Bitbucket into the Assets folder of your new Workshop-Sandbox repository. And make sure you check out the Adam-WebGLUpload branch

  4. Next, open your project in Unity Hub

  5. Once the project has opened, open the Workshop Init - WebGL scene

    1. Next, right-click Workshop Scene in your Project window and select Open Scene Additive

    2. Then, right-click Workshop Props in your Project window and select Open Scene Additive

  6. Before you hit play, toggle Maximize On Play to On

Controls

  • To move your character, you can use WASD or the Arrow Keys

  • To look around, use your mouse

  • To pick up/drop an object, use Space Bar or Right Click

  • To use an object, use the Enter key or Left Click

  • To make your mouse cursor visible, you can use the Tab or Escape Key

    • You can toggle the mouse cursor invisible again with the same keys

Notes

  • When you hit play, you will need to hit either Tab or Escape to free your cursor for use

    • From there, you can click through the Controls and Authentication panes

    • Hitting either of those keys will then toggle the cursor back off

  • To see the controls in game again, hit the burger menu in the top left corner with your visible cursor

  • The cursor visibility toggle can behave oddly while the scene is running in Unity; to help it along, you can hit either Tab or Escape while your Left Click in the Game Window

 

Related content

WebGL Support
WebGL Support
More like this
Unity Testing with Mock HMD
Unity Testing with Mock HMD
More like this
App Configs
App Configs
Read with this
Motive Unity SDK Setup - Unity Workshop Demo Scene
Motive Unity SDK Setup - Unity Workshop Demo Scene
More like this
Troubleshooting WebGL
Troubleshooting WebGL
Read with this
Configuring SteamVR
Configuring SteamVR
More like this