Comment on page
Looking Glass Pro
The Plugin has build support for the 15.6" Looking Glass Pro. You can learn more about the features and specs of the Looking Glass Pro at the Getting Started Guide.
Looking Glass Pro development requires Unity version 2018 or later.
To fully load the example scene:
- 1.Open
Holoplay\Examples\9 - Pro Workstation
- 2.Select the
Pro Workstation Manager (Looking Glass)
GameObject from the scene hierarchy - 3.In the
Pro Workstation Manager
script, select theSetup\Open Scenes
button

pro-example-scene
The
Setup\Open Scenes
button loads in the _extendedUI
scene of the same name. This scene drives the UI on the Foldout 2D Display. If a scene doesn't exist by this name, this button will create it.The additional example scene that gets incorporated includes:
- It's own
Pro Workstation Manager
game object, with thePro Workstation Manager
script field forDisplay
set toFoldout 2D
. This is required so that the scenes can identify which displays they drive. - A canvas to manage the UI. Any Unity content is allowable here. Note: the canvas in this example scene has a layout that fits with the Foldout 2D Display.
- An IPC (Inter-process communicator) that sends events between the two scenes.
While it's possible to create your own scene from scratch, the preferred route is by copying the example scenes and removing what you don't need and working from there.
Follow these steps if you'd like to start from scratch or if you'd like to integrate your existing project with the Looking Glass Pro.
- 1.Create a New Scene
- 2.Remove the default Unity camera and add a
HoloPlay Capture
to the scene, found inAssets/Holoplay/Prefabs/
- 3.Add a
Pro Workstation Manager
to the scene, found inAssets/Holoplay/Prefabs/
- 4.Select the
Pro Workstation Manager
from the scene hierarchy, and clickSetup/Open Scene
- 5.Add a
Pro Workstation Manager
to the second scene - 6.Set the second scene's
Pro Workstation Manager
'sDisplay
toFoldout 2D
If the app requires UI elements on the Foldout 2D Display, this can be done using conventional Unity UI elements. If the app requires IPC between the two scenes, this can be done using the IPC example code provided in the demo.
In order to support all Looking Glass Pro functionality, you must build your applications in an unconventional way. Unity's built-in build pipeline will not work. To build the proper way:
- Open File > Build Settings... and add both your scenes and click Add Open Scenes to add both scenes to the "Scenes in Build" field
- Close the Build Settings window
- Select any
Pro Workstation Manager
game object - Click the Build (Pro Workstation) button in the
Pro Workstation Manager
script in the inspector
When building for the Looking Glass Pro, you must use the
Build (Pro Workstation)
button found in the Pro Workstation manager
.When your build is complete, it is ready to be transferred over to the Looking Glass Pro. If you want your build to auto-play on startup, consult the instructions in the setup guide.
If you have further questions or for further support, please reach out to one of our support specialists by emailing [email protected]
Last modified 1yr ago