Course asset for the Udacity VR Developer Nanodegree program.
- Course: VR Software Development
- Lesson: Advanced VR Scripting
- The Unity project is the child directory of the repository and named according to the associated lesson.
- The Unity project is 'cleaned' and includes the
Assetsfolder, theProjectSettingsfolder, and theUnityPackageManagerfolder.
Note: Contrary to best practice, the Unity project also includes two files from the project's Library folder. The reason for this is explained in the Included Unity Library Folder Items section below.
- The project's
Player SettingsandQuality Settingsare set to default values for the Unity version used.
Important! When deploying to device, make sure you configure the
Player Settingsfor the target platform according to what you learned in the previous courses.
Note: When deploying to device, it is recommended to update the
Quality Settingsaccording to what you learned in the previous courses.
- The scene's
Lighting Settingsare set to default values for the Unity version used.
Note: When deploying to device, it is recommended to update the
Lighting Settingsas well as optimize the scene according to what you learned in the previous courses.
GoogleVR>Demosis not included.GoogleVR>GVRVideoPlayer.unitypackageis included.- The
Max Reticle Distancevalue for theGvrReticlePointerused in the scene is set to20instead of the default10. - Scripts applicable to the course have been updated to reflect Unity's API change from
UnityEngine.VRtoUnityEngine.XR.
Note: If for any reason you remove and re-import GVR SDK for Unity v1.170.0, make sure you accept any API update pop-up prompts triggered by Unity. Alternatively, you can manually run the API updater (Unity menu
Assets>Run API Updater...) after the import has completed.
- The Unity generated file
Library>LastSceneManagerSetup.txtis included to force the default scene to load when opening the Unity project for the first time. - The Unity generated file
Library>CurrentLayout.dwltis included to force the Unity workspace layout and scene view orientation to be similar to what's shown during the lesson when opening the Unity project for the first time.
Note: After loading the Unity project for the first time, the included Unity workspace layout and scene view orientation, which is stored in the
CurrentLayout.dwltfile, will be lost if you change the workspace layout or scene view orientation.
Tip: You can save the Unity workspace layout and restore it any time by expanding the
Layoutdrop-down (found at the top right of the Toolbar) and chooseSave Layout…, then name your new layout and save it. To restore the layout, choose it from theLayoutdrop-down.
- VR Software Development - Creating Scripts
- VR Software Development - Controlling Objects Using Code
- VR Software Development - VR Interaction
- VR Software Development - Programming Animations
- VR Software Development - Physics and Audio
- VR Software Development - Advanced VR Scripting
- VR Software Development - A Maze
This repository is deprecated; therefore, we are going to archive it. However, learners will be able to fork it to their personal Github account but cannot submit PRs to this repository. If you have any issues or suggestions to make, feel free to:
- Utilize the https://knowledge.udacity.com/ forum to seek help on content-specific issues.
- Submit a support ticket along with the link to your forked repository if (learners are) blocked for other reasons. Here are the links for the retail consumers and enterprise learners.