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.
Course asset for the Udacity VR Developer Nanodegree program.
- Course: VR Software Development
- Lesson: Controlling Objects Using Code
- 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
Assets
folder, theProjectSettings
folder, and theUnityPackageManager
folder.
Note: Contrary to best practice, the Unity project also includes one file 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 Settings
andQuality Settings
are set to default values for the Unity version used.
Important! If deploying to device, make sure you configure the
Player Settings
for the target platform according to what you learned in the previous courses.
Note: If deploying to device, it is recommended to update the
Quality Settings
according to what you learned in the previous courses.
- No scenes included.
Note: New scenes created during the lesson will have
Lighting Settings
set to default values for the Unity version used. If deploying to device, it is recommended to update theLighting Settings
as well as optimize the scene according to what you learned in the previous courses.
Note: GVR is not used during this lesson but included for convenience and to be consistent with the other course assets for this course.
GoogleVR
>Demos
is not included.GoogleVR
>GVRVideoPlayer.unitypackage
is included.- Scripts applicable to the course have been updated to reflect Unity's API change from
UnityEngine.VR
toUnityEngine.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
>CurrentLayout.dwlt
is 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.dwlt
file, 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
Layout
drop-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 theLayout
drop-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