VRTK.Unity.Core
A collection of design patterns for solving common problems
Introduction
VRTK.Unity.Core is a collection of design patterns for the Unity software that can be beneficial in (but not limited to) spatial computing development.
VRTK.Unity.Core requires Unity3d 2018.3 (or above).
Getting Started
Setting up a project
- Using the Unity software version 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
Cloning the VRTK.Unity.Core repo into a project
- 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.
Contributing
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!
License
Code released under the MIT License.
Disclaimer
These materials are not sponsored by or affiliated with Unity Technologies or its affiliates. “Unity” is a trademark or registered trademark of Unity Technologies or its affiliates in the U.S. and elsewhere.