gyjzh / gvr-unity-sdk

Google VR SDK for Unity

Home Page:http://developers.google.com/vr/unity/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Google VR SDK for Unity

http://developers.google.com/vr/unity/

License:Apache License 2.0


Languages

Language:C# 68.0%Language:HTML 29.3%Language:ShaderLab 2.3%Language:HLSL 0.4%