|
| 1 | + |
| 2 | +Matches '1. Open a terminal window and run the following commands from the Xcode project' at line 46 |
| 3 | +52 |
1 | 4 | # Google VR SDK for Unity |
2 | 5 |
|
3 | | -Enables Daydream and Cardboard app development in Unity. |
| 6 | +Use Unity to build virtual reality apps for Android and iOS. |
4 | 7 |
|
5 | 8 | Copyright (c) 2016 Google Inc. All rights reserved. |
6 | 9 |
|
7 | | -For updates, known issues, and upgrade instructions, see the |
8 | | -[release-notes](//github.com/googlevr/gvr-unity-sdk/releases). |
9 | | - |
10 | | -For first time users, see the Get Started Guides: |
11 | | - * [Android Cardboard](//developers.google.com/vr/unity/get-started-android) |
12 | | - * [Android Daydream](//developers.google.com/vr/unity/get-started-controller) |
13 | | - * [iOS Cardboard](//developers.google.com/vr/unity/get-started-ios) |
| 10 | +## Downloads |
14 | 11 |
|
15 | | -Please note, we do not accept pull requests. |
| 12 | +The latest `GoogleVRForUnity_*.unitypackage` and release notes |
| 13 | +are available from the |
| 14 | +[releases](//github.com/googlevr/gvr-unity-sdk/releases) |
| 15 | +page. |
16 | 16 |
|
17 | | -## Migration to Unity 5.6 from GVR SDK for Unity 1.40 or lower |
18 | | -__Unity versions 5.6 or newer are required as of v1.40 of the GVR SDK for Unity.__ |
| 17 | +You can also clone and use the `googlevr/gvr-unity-sdk` git repository |
| 18 | +directly in a Unity project. |
19 | 19 |
|
20 | | -Migration steps: |
21 | 20 |
|
22 | | -1. Update the GVR SDK for Unity to [1.40](//github.com/googlevr/gvr-unity-sdk/blob/a3d1033260dab57cb0f4a62a770796fbd09fe37a/GoogleVRForUnity.unitypackage). |
23 | | -2. Migrate to Unity 5.6.0f3, or any newer version. The SDK will import or remove the unnecessary GVR libraries. |
24 | | -3. Update the GVR SDK for Unity to 1.70 (or latest). |
| 21 | +## Getting Started |
25 | 22 |
|
26 | | -## Usage Guide |
27 | | -As of the 1.70 release, the `gvr-unity-sdk` git repo can be cloned and used directly in a Unity project. |
| 23 | +The Google VR SDK for Unity requires |
| 24 | +[Unity 5.6 or newer](//unity3d.com/get-unity/download). |
28 | 25 |
|
29 | | -*__Downloads__: Get the latest `GoogleVRForUnity_*.unitypackage` from the [releases](//github.com/googlevr/gvr-unity-sdk/releases) page |
30 | | -*__Samples__: [Daydream Elements](//github.com/googlevr/daydream-elements) |
31 | | -*__Workflow__: [Instant Preview](//github.com/googlevr/gvr-instant-preview) |
| 26 | +If you are new to the Google VR SDK for Unity, see the following guides: |
| 27 | +*[Get started with Google VR in Unity on Android](//developers.google.com/vr/unity/get-started) |
| 28 | +*[Get Started with Google VR in Unity on iOS](//developers.google.com/vr/unity/get-started-ios) |
32 | 29 |
|
33 | | -## Pod update to the latest GVR SDK for iOS |
34 | | -As of Unity 5.6, the generated Cocoapod can be updated to the latest GVR SDK for iOS by following these steps. |
35 | 30 |
|
36 | | -* Build an Xcode project from Unity. |
37 | | -* In a terminal, change directories into the Xcode project folder. |
38 | | -* Run the following commands |
39 | | - * ``pod deintegrate`` |
40 | | - * ``pod cache clean --all`` |
41 | | -* Change the number in the Podfile to 1.70 |
42 | | -* Open the project in Xcode, and delete the Pods directory and Pods.xcodeproj if they exist. |
43 | | -* In the Xcode project settings, change the deployment target to 8.0. |
44 | | -* Quit Xcode |
45 | | -* In Terminal, do ``pod update`` |
46 | | - * "Installing GVRSDK (1.70.0)" should appear in the console. |
47 | | -* ``pod install`` |
| 31 | +## Migration from Google VR SDK for Unity 1.40 or older |
48 | 32 |
|
| 33 | +1. Update the Google VR SDK for Unity to [1.40](//github.com/googlevr/gvr-unity-sdk/blob/a3d1033260dab57cb0f4a62a770796fbd09fe37a/GoogleVRForUnity.unitypackage). |
| 34 | + Unlike older versions, this version supports updates to the latest |
| 35 | + Google VR SDK for Unity. |
| 36 | +1. Migrate to Unity 5.6.0f3 or newer. The SDK will import or remove the unnecessary Google VR libraries. |
| 37 | +1. Update to the latest Google VR SDK for Unity. |
0 commit comments