A template to start a XR project with Unity (beta version and URP rendering pipeline).
It already has :
- gitignore configured.
- git lfs set up with gitattributes.
- Editor configuration configured for C# writing conventions.
- Auto format on push, using github Actions and dotnet-format.
- The Unity project into a subfolder, with the starting packages for URP (including Shader Graph).
- New input system basic layout set-up.
XR specifics:
- Basic room for testing purposes.
- Packages necessary to XR.
- XR camera.
- Simple navigation system using left controller.
By default only the package for Oculus XR devices is added. If you want to support more headset brands, such as HTC-Vive, you need to add the appropriate packages. For HTC-Vive, you may want to add a scoped registery, see: https://github.com/ValveSoftware/unity-xr-plugin.
To start a new project using this template, you can either pull this repo and change the remote to your own (That keep the git history), or you can also press the "Use this template" feature of Github (This will squash all the commits into a unique "Start project" commit).
I recommend tweaking a few things after starting a project :
- Remove the UNLICENSE file, and add your own (usually under LICENSE)
- Describe your own project inside the README.md
- Rename the Unity_project folder into something more recognisable in the Unity Hub, such as ProjectName_Project. If you do so, you also need to mirror this change inside .github/workflows/linter.yml
With this, you are all set !
This template is released into public domain. See the UNLICENSE file.