The Unity project for the SmartBike SunCycle VR exercise system.
- Unity3D version 2022.3.22 installed
- IDE or editor of choice (e.g., MS Visual Studio, VS Code)
- Collaborator access to this repository (if you are a team member)
- Git credentials configured on your machine
- A VR headset, such as Meta Quest 2/3
- Git GUI such as GitKraken, SourceTree, GitHub Desktop (if you prefer this over working only with terminal commands)
- Create a fork of the main repository by clicking the fork button on the main repository or by clicking here
- Clone the repository to your local machine
git clone https://github.com/[YOURUSERNAME]/redback-smartbike-vr.git
- Open Unity Hub and click Add button, find the Project in the local repository that has been cloned and click the Open button
path/to/redback-smartbike-vr
The project has been setup to be clean and items will need to be placed in the correct locations. All assets will located under the Assets folder, with the differing types under their own folder.
- Animations - any animations that are linked to models in the scene, these are the Unity-based animations not the animations that are embedded inside imported FBX/OBJ
- Audio - contain any music or sound effects
- Materials - the materials that are either imported separately or created within the Unity project. The SunCycle project uses the Universal Render Pipeline, and if when importing an asset the material is colored pink change the material to use one of the URP-based materials
- Models - and FBX/OBJ files that have been imported, created, generated into the Unity project - these are the geometry that is rendered in the virtual world
- Packages - for large packages that come as single units, install all of the files in a single folder within the packages folder
- Prefabs - prefabs are objects that Unity uses to be able to implement in a scene easily - they will include items that have embedded scripts, objects, materials etc. to be reused in the project
- Renderer - this holds the URP-based assets for the base configuration, if these are missing, assets will turn pink
- Scenes - scenes could be described as levels within the Unity system, but can also be more - the main levels for the project are stored in this folder
- Scripts - all C# based scripting is stored under this folder and if you need to configure scripts accessible within the Unity Editor, place them within the Scripts/Editor folder
- Shaders - any extended shaders that are needed that the standed URP shaders cannot provide
- Terrain - files for terrain data that belong to a scene place in a folder within this with the name of the scene the data belongs to
- Textures - the images that the materials utilize to place on the models, this folder is for images that are placed on 3D models
- UI - the UI folder is used to store image assets that are used in the user interface rather than as 3D assets
- XR / XRI - assets for the Unity XR system, this is currently implemented for use with Oculus XR but other systems can be added if you need to support the VR headset you own
When adding your new feature, add the files into each separate asset folder as required and, if necessary, create a sub-folder to store assets if there is great complexity.