A set of design patterns for rapidly building VR solutions in Unity3d
VRTK.Unity.Core is a core collection of design patterns for Unity3d that can be beneficial in VR development.
VRTK.Unity.Core requires Unity3d 2018.3 (or above).
- Using Unity3d 2018.3 (or above) create a new project using the 3D Template or open an existing project.
- If the project supports Virtual Reality:
- Ensure
Virtual Reality Supported
is checked.- In Unity3d select
Main Menu -> Edit -> Project Settings
to open theProject Settings
window. - Select
Player
from the left hand menu in theProject Settings
window. - In the
Player
settings panel expandXR Settings
. - In
XR Settings
ensure theVirtual Reality Supported
option is checked.
- In Unity3d select
- Ensure the appropriate support package is installed.
- In Unity3d select
Main Menu -> Window -> Package Manager
to open thePackages
window. - Find the appropriate support package in the left hand menu and click on it to select it (e.g. Oculus (Standalone) or OpenVR).
- Click the
Install
button in the right hand pane of thePackages
window for the selected support package. - The package will now install and be available for your supported hardware.
- In Unity3d select
- Ensure
- Ensure the project
Scripting Runtime Version
is set to.NET 4.x Equivalent
.- In Unity3d select
Main Menu -> Edit -> Project Settings
to open theProject Settings
inspector. - Select
Player
from the left hand menu in theProject Settings
window. - In the
Player
settings panel expandOther Settings
. - Ensure the
Scripting Runtime Version
is set to.NET 4.x Equivalent
.
- In Unity3d select
- Navigate to the
Assets/
directory of your project. - Git clone this repo into the
Assets/
directory:git clone https://github.com/ExtendRealityLtd/VRTK.Unity.Core.git
- How To Clone A Repo
- Wait for Unity3d to finish importing the cloned files.
We're not currently in a place where accepting contributions would be helpful. But as soon as we're ready we'll let you know!
Code released under the MIT License.