Skip to content

VR-Tracker/VRTK.Unity.Core

 
 

Repository files navigation

image

VRTK.Unity.Core

A set of design patterns for rapidly building VR solutions in Unity3d

Slack Documentation YouTube Twitter Follow Waffle

Introduction

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).

Getting Started

Setting up a project

  • 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 the Project Settings window.
      • Select Player from the left hand menu in the Project Settings window.
      • In the Player settings panel expand XR Settings.
      • In XR Settings ensure the Virtual Reality Supported option is checked.
    • Ensure the appropriate support package is installed.
      • In Unity3d select Main Menu -> Window -> Package Manager to open the Packages 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 the Packages window for the selected support package.
      • The package will now install and be available for your supported hardware.
  • Ensure the project Scripting Runtime Version is set to .NET 4.x Equivalent.
    • In Unity3d select Main Menu -> Edit -> Project Settings to open the Project Settings inspector.
    • Select Player from the left hand menu in the Project Settings window.
    • In the Player settings panel expand Other Settings.
    • Ensure the Scripting Runtime Version is set to .NET 4.x Equivalent.

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:
  • 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.

About

A set of design patterns for rapidly building VR solutions in Unity3d

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 99.8%
  • ShaderLab 0.2%