Running the Demos
Telerik XR Core package comes with a selection of demos that will help you to explore the functionalities and features of the Telerik assets.
There are two possible approaches for running the demos—by opening a sample scene from a Demos
folder or by importing a sample in the Assets
folder by using the Package Manager.
Opening Sample Scene
When you look at the XR Core subfolders, you will find a Demos
folder which contains various sample scenes that you can open directly. If you want to make modifications on the scene you may consider duplicating it and moving the duplicated version inside your project Assets
folder.
Importing Samples
Another way to run the demos is to import the samples in the Assets
folder by using the Package Manager. This approach allows you to copy the content of some samples together with the related resources directly in your project's Assets
folder. This way, you can quickly start your project scene from one of our sample scenes and then safely modify the scene content without modifying the original XR Core package.
The samples are contained in a
Samples~
folder which is hidden for the Unity Editor and cannot be distributed within the Unity Asset Store directly. In each package folder you will find aPackage Documentation and Samples.zip
file that should be extracted in order to create theSamples~
andDocumentation~
subfolders.
To import the samples:
Reference the XR Core package in your project. You can find the detailed instructions in the Installation article.
Find the XR Core package in the Package Manager.
Look at the end of the package description, and you will see a Samples section there.
Choose one of the samples and click the Import button to copy the assets in your project.
Running on XR Device
If the scene contains a XR Rig prefab instance, then it is meant to be run on XR Device. There are several steps you may follow to build and play the scene on the XR device:
- Go to Project Settings and in XR Plug-in Management section to install the XR Plugin Management package.
- Select the platform specific plugin from the XR Plug-in Management section to install the needed package. For instance for Oculus Quest or Rift you should install the Oculus XR Plugin.