Skip to content

Immersive interactive 360 video using Unity and the Google Cardboard. Work in progress

Notifications You must be signed in to change notification settings

dtmacroh/rooting-for-you

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Part 1

  1. Once package is downloaded, drag unitypackage into your Unity Editor (2017).

Part2

A tree planting simulation project that has NetworkIt combined with 360 Video and Google Cardboard. Requires Unity 2017 or higher.

How to Use

Some setup is required when you import this project.

To change the 360 video, see notes from: kevinta893/Unity360Video

Project setup

To run all three pieces together, you will need to setup your Player Settings (PC, Android, iOS):

  • All platforms:

    • Other Settings > Api Compatibility Level = .NET 2.0
    • XR Settings > Virtual Reality Supported = Checked, and add Cardboard to the list
  • Android:

    • Other Settings > Minimum API Level = Android 4.4 (API level 19)

Prefabs

Use the following Prefabs to add 360+Cardboard functionality to your projects

  • Cardboard360Camera - A prefab that adds a 360 Video player and GVR reticle. You can change your video here.
  • GvrTriggerObject - A prefab that has an EventTrigger component for the GVR reticle. Use this to add GVR Clickable objects.

NetworkItUnity

The library for NetworkItUnity is the same. Refer to the NetworkItUnity folder for more information on how to use.

Libraries Used

Part 3

  1. In the Assets folder, open up the Scenes folder.
  2. Double click the fire scene and hit play. This is the first scene of the project.
  3. In the Build Settings, check the open scenes and make sure the first scene is the fire scene. (noted by a "0" on the right hand side of panel) Make sure all the scenes in the scene folder are in the build settings.
  4. To run on your phone, Go to File > Build Settings > Build and Run. Make sure you have a data cable attached from your laptop to your phone, and that USB Debugging is available on your phone.