EECS 441 Project Team JEANJA - Unity
How to collaborate with Git and Unity
- Starter App - Contains frontend and Unity Environment Code
- Assets
-
GoogleVR - Google VR SDK
-
Objects - objects used in VR Environments
- Nature
- Nature2
- Survival_Objects
- Treasurechest
- FireplaceTest
-
Scenes - main base environment
-
- ProjectSettings - asset files needed for Starter App
- Assets
- sanctuary_backend - backend Django REST API for data collection
- django_project - admin, apps, models, tests, and views
- sanctuary_backend - settings, urls, wsgi
- sanctuary_android - Android application for sanctuary (instructions for setup coming soon)
- app - app activities
- build.gradle (app) - dependencies
- build.gradle (module) - dependencies
- app - app activities
- gvr-android-sdk-1.160.0 - GVR Android SDK
- assets - some assets for use in app
- libraries - SDKs for audio, base, commonwidget, controller, panowidget, videowidget
Access the Digital Ocean droplet by ssh [email protected]. Ask Nathan for the password.
- Install Python 3 and Django
- Navigate to sanctuary/sanctuary_backend
- python manage.py runserver
Required (iOS):
(1) iPhone 5 or higher
(2) iOS 8.0 or higher
Required (Android):
(1) Daydream compatible phone
(2) Min Android SDK of 19
- Recommended version: LTS release 2017.4 or newer here:
- Minimum version: 5.6
- Make sure iOS Build Support is selected during installation.
- Refer to Unity's guide for Getting started with iOS development
- Refer to Google's guide for Getting started with Android development
- Download the latest GoogleVRForUnity_*.unitypackage
- Open Unity and create a new 3D project
- Select Assets > Import Package > Custom Package
- Select the GoogleVRForUnity_*.unitypackage file that was downloaded
- In the Importing Package dialog, click Import
- Accept any API upgrades if prompted
- Select File > Build Settings
- Select iOS and click Switch Platform
- In the Build Settings window, click Player Settings
- Configure the following player settings:
- Player Settings > Other Settings > Virtual Reality Supported --> Enabled
- Player Settings > Other Settings > SDKs --> Click + and select Cardboard
- Player Settings > Other Settings > Target minimum iOS version --> 8.0 or higher
- Player Settings > Other Settings > Bundle Identifier --> Follow reverse the DNS format suggested by Apple
- In the Unity Project window, go to Assets > Google VR > Demos > Scenes. Open the HelloVR scene.
- Press the Play button. In the Game view you should see a rendered demo scene.
- Note: although the scene here is monoscopic, the rendering on your phone will be stereo.
- Interact with the scene using simulation controls
- Connect your phoe to your computer using a USB cable
- Select File > Build and Run
- Unity builds your project and opens the generated Xcode workspace.
- Note: If you use Build Settings… > Build to build your project, be sure to open the generated *.xcworkspace workspace file in Xcode, not the included *.xcodeproj project file. Opening the project file will result in build errors.