Note: you are currently viewing documentation for an older version of Varjo
Note: This is page contains instructions for creating a new project. If you are modifying your existing project, please refer to Updating an existing Unity project.
Varjo Unity plugin has been reworked and is distributed in package format. This is a guide for first time installation of the plugin. Note: Make sure that you have upgraded VarjoBase to the latest version before installing the new Varjo Unity plugin.
Download Varjo plugin
Download Varjo plugin for Unity
Launch new Unity project
Import Varjo plugin for Unity
Go to Assets > Import Package > Custom Package
Select the Varjo plugin for Unity and click Open
Click Import in the popup window
Enable VR support
Go to Edit > Project Settings
In Player Settings, under XR Settings enable Virtual Reality Supported
Drag the OpenVR option above the Oculus option in the Virtual Reality SDKs list
Run your project If you followed all the steps, your project would run as usual. All the examples, scripts, and samples from Varjo Unity plugin could be found in Assets/Varjo folder.