Skip to content

wangxin8888/gvr-unity-sdk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google VR SDK for Unity

Enables Daydream and Cardboard app development in Unity.

Copyright (c) 2016 Google Inc. All rights reserved.

For updates, known issues, and upgrade instructions, see: https://developers.google.com/vr/unity/release-notes

For first time users, see the Get Started Guides for Android Cardboard, Android Daydream, and iOS Cardboard.

Please note, we do not accept pull requests.

Migration to Unity 5.6

The GVR Unity SDK will no longer support Unity versions older than 5.6 as of 1.50. Please upgrade to 5.6 via the following steps:

  1. Update the GVR Unity SDK to 1.60.
  2. Migrate to Unity 5.6.0f3. The SDK will import or remove all the necessary libraries.
  3. Update to GVR Unity SDK 1.50 when it becomes available.

Repo Guide

  • GoogleVRForUnity.unitypackage. The GoogleVR Unity SDK for importing into Unity GoogleVR projects.
  • GoogleVR. The source code for convenient review and discussion.
  • Samples. Reference Unity projects for Daydream and Cardboard.

Pod update to the latest GVR iOS SDK

As of Unity 5.6.0f3, the generated Cocoapod can be updated to the latest GVR iOS SDK by following these steps.

  • Build an XCode project from Unity.
  • In a terminal, change directories into the XCode project folder.
  • Run the following commands
    • pod deintegrate
    • pod cache clean --all
  • Change the number in the Podfile from 1.20 to 1.60
  • Open the project in XCode, and delete the Pods directory and Pods.xcodeproj if they exist.
  • In the XCode project settings, change the deployment target to 8.0.
  • Quit XCode
  • In Terminal, do pod update
    • "Installing GVRSDK (1.60.0)" should appear in the console.
  • pod install

Packages

No packages published

Languages

  • C# 68.0%
  • HTML 29.3%
  • ShaderLab 2.3%
  • HLSL 0.4%