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 Supportedis checked.- In Unity3d select
Main Menu -> Edit -> Project Settingsto open theProject Settingswindow. - Select
Playerfrom the left hand menu in theProject Settingswindow. - In the
Playersettings panel expandXR Settings. - In
XR Settingsensure theVirtual Reality Supportedoption is checked.
- In Unity3d select
- Ensure the appropriate support package is installed.
- In Unity3d select
Main Menu -> Window -> Package Managerto open thePackageswindow. - 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
Installbutton in the right hand pane of thePackageswindow 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 Versionis set to.NET 4.x Equivalent.- In Unity3d select
Main Menu -> Edit -> Project Settingsto open theProject Settingsinspector. - Select
Playerfrom the left hand menu in theProject Settingswindow. - In the
Playersettings panel expandOther Settings. - Ensure the
Scripting Runtime Versionis 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.
