VRTK offers a VR Simulator that works without any third party SDK, but VR device support requires a supported VR SDK to be imported into the Unity project.
The example scenes support all the VRTK supported VR SDKs. To make use of VR devices (besides the included VR Simulator) import the needed third party VR SDK into the project.
Assets/VRTK
folder into your Unity project.VRTK_SDKManager
script to a GameObject in the scene.The SDK Manager handles setting up everything to use the various supported SDKs via the relevant VRTK_SDKSetup
. To use a VR SDK the following steps are needed:
VRTK_SDKSetup
to it.SDK Selection
to the respective VR SDK.Object References
are set correctly by Auto Populate
or set them manually.Setups
add a new slot and select the SDK Setup for that slot.Repeat the steps above to add additional SDK Setups to the SDK Manager.
If the Auto Load
setting on the SDK Manager is enabled the SDK Setups are automatically loaded in the order they appear in the list:
The SDK Manager allows switching the used SDK Setup at runtime. To add a simple overlay GUI to do so add the VRTK/Prefabs/SDKSetupSwitcher
prefab to the scene.
For further information on getting started with the supported SDKs, please refer to the specific documentation for the SDK listed below: