Random helper scripts I made for Meta Quest XR projects.
This should work on any reasonably modern Unity version. Built and tested in Unity 6.0.
- Open project settings
- Select
Package Manager
- Add the OpenUPM package registry:
- Name:
OpenUPM
- URL:
https://package.openupm.com
- Scope(s)
com.uralstech
- Name:
- Open the Unity Package Manager window (
Window
->Package Manager
) - Change the registry from
Unity
toMy Registries
- Add the
UXR.Utilities
package
- Open the Unity Package Manager window (
Window
->Package Manager
) - Select the
+
icon andAdd package from git URL...
- Paste the UPM branch URL and press enter:
https://github.com/Uralstech/UXR.Utilities.git#upm
- Check the instructions for
Utils.Singleton
to install the dependency
- Clone or download the repository from the desired branch (master, preview/unstable)
- Drag the package folder
UXR.Utilities/UXR.Utilities/Packages/com.uralstech.uxr.utilities
into your Unity project'sPackages
folder - Check the instructions for
Utils.Singleton
to install the dependency
Do not use preview versions (i.e. versions that end with "-preview") for production use as they are unstable and untested.
See https://uralstech.github.io/UXR.Utilities/DocSource/QuickStart.html or APIReferenceManual.pdf
and Documentation.pdf
in the package documentation for the reference manual and tutorial.