io.extendreality.vrtk.prefabs
v1.1.11
Published
A collection of productive prefabs for rapidly building spatial computing solutions in the Unity software.
Downloads
43
Readme
VRTK Prefabs
v4-beta
A collection of productive prefabs for rapidly building spatial computing solutions in the Unity software.
Beta Disclaimer
The VRTK Prefabs have not yet been released fully are still in a beta phase meaning there may still be undiscovered bugs, missing features and a lack of usable documentation. All of these things are being worked on but progress is slow as there is only one person actively working on these VRTK Prefabs in their spare time so please be patient and respectful. You are free to use the VRTK Prefabs in any way you wish, but if you feel you will struggle figuring stuff out for yourself without detailed documentation then it may be better off if you wait until the full release of the VRTK Prefabs.
The prefabs contained in this repository will eventually be separated out into their own repositories and packages.
Introduction
The VRTK Prefabs aim to make building spatial computing solutions in the Unity software fast and easy for beginners as well as experienced developers.
Requires the Unity software version
2018.3.10f1
(or above).
Getting Started
Setting up the project
- Create a new project in the Unity software version
2018.3.10f1
(or above) using3D Template
or open an existing project. - Ensure
Virtual Reality Supported
is checked:- In the Unity software 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 the Unity software select
- Ensure the project
Scripting Runtime Version
is set to.NET 4.x Equivalent
:- In the Unity software 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 the Unity software select
Note: Unity
2019.1
(or above) requires additional project setup before importing the VRTK Prefabs.
- Download and install the
XR Legacy Input Helpers
from the Unity Package Manager.- In the Unity software select
Main Menu -> Window -> Package Manager
to open thePackage Manager
window. - Select
XR Legacy Input Helpers
from thePackages
tab in thePackage Manager
window. - Click the
Install
button located in the bottom right of thePackage Manager
window. - The
XR Legacy Input Helpers
package will now download and install into the project.
- In the Unity software select
Adding the package to the Unity project manifest
Navigate to the
Packages
directory of your project.Adjust the project manifest file
manifest.json
in a text editor.- Ensure
https://registry.npmjs.org/
is part ofscopedRegistries
.- Ensure
io.extendreality
is part ofscopes
.
- Ensure
- Add
io.extendreality.vrtk.prefabs
todependencies
, stating the latest version.
A minimal example ends up looking like this. Please note that the version
X.Y.Z
stated here is to be replaced with the latest released version which is currently .{ "scopedRegistries": [ { "name": "npmjs", "url": "https://registry.npmjs.org/", "scopes": [ "io.extendreality" ] } ], "dependencies": { "io.extendreality.vrtk.prefabs": "X.Y.Z", ... } }
- Ensure
Switch back to the Unity software and wait for it to finish importing the added package.
Updating to the latest version
The package will show up in the Unity Package Manager UI once the above steps have been carried out. From then on the package can be updated by selecting the package in the Unity Package Manager and clicking on the Update
button or using the version selection UI.
Documentation
Visit the Academy for a collection of educational content to help you get the most out of building spatial computing solutions with the VRTK Prefabs.
Contributing
Please refer to the Extend Reality Contributing guidelines and the Unity project coding conventions.
Code of Conduct
Please refer to the Extend Reality Code of Conduct.
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.