Getting Started with XR Toolkit in Unity (Part 2) — Setting Up Our Input

Alwin Kuruvilla
2 min readAug 26, 2021

--

Welcome back! In this part, we’ll setup our inputs.

Adding presets as defaults

In the last part, we left off adding our presets as defaults. To make sure everything was explained correctly, I’ll just go over it one more time: Click on each preset and in the inspector, just below the name of the preset, you’ll see a button to “Add to ____ default”.

Go through each preset and click this button.

Once you’ve added everything, you’ll be able to use the defaults in the input manager.

Setting up our Project for XR.

Now that we have the Input Manager setup, lets go to the Edit → Project Settings. There, at the bottom of the left hand menu, we’ll find “XR Plug-in Management.” This is where we can select the VR system we’ll use.

Since I’m working with an Oculus, I’m going to check the checkbox next to it. Unity will download and install the necessary plug-ins. Once installation is complete, you should see Oculus settings underneath XR Plug-in Management.

Once this is setup you can now create your player!

--

--

Alwin Kuruvilla
Alwin Kuruvilla

No responses yet