Skip to content

Commit

Permalink
feat(SDK): add Google Cardboard support to Unity SDK
Browse files Browse the repository at this point in the history
The Unity SDK support has been updated to also allow building for
Google Cardboard as long as the Google VR SDK for Unity is installed.
  • Loading branch information
thestonefox committed Aug 18, 2017
1 parent 95e078e commit e07829c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions Assets/VRTK/SDK/Unity/SDK_UnityBoundaries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ namespace VRTK
[SDK_Description(typeof(SDK_UnitySystem), 2)]
[SDK_Description(typeof(SDK_UnitySystem), 3)]
[SDK_Description(typeof(SDK_UnitySystem), 4)]
[SDK_Description(typeof(SDK_UnitySystem), 5)]
public class SDK_UnityBoundaries : SDK_BaseBoundaries
{
/// <summary>
Expand Down
1 change: 1 addition & 0 deletions Assets/VRTK/SDK/Unity/SDK_UnityController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ namespace VRTK
[SDK_Description(typeof(SDK_UnitySystem), 2)]
[SDK_Description(typeof(SDK_UnitySystem), 3)]
[SDK_Description(typeof(SDK_UnitySystem), 4)]
[SDK_Description(typeof(SDK_UnitySystem), 5)]
public class SDK_UnityController : SDK_BaseController
{
protected VRTK_TrackedController cachedLeftController;
Expand Down
1 change: 1 addition & 0 deletions Assets/VRTK/SDK/Unity/SDK_UnityHeadset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ namespace VRTK
[SDK_Description(typeof(SDK_UnitySystem), 2)]
[SDK_Description(typeof(SDK_UnitySystem), 3)]
[SDK_Description(typeof(SDK_UnitySystem), 4)]
[SDK_Description(typeof(SDK_UnitySystem), 5)]
public class SDK_UnityHeadset : SDK_BaseHeadset
{
protected VRTK_VelocityEstimator cachedHeadsetVelocityEstimator;
Expand Down
7 changes: 4 additions & 3 deletions Assets/VRTK/SDK/Unity/SDK_UnitySystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ namespace VRTK
/// </summary>
[SDK_Description("Unity (Standalone:Oculus)", null, "Oculus", "Standalone")]
[SDK_Description("Unity (Standalone:OpenVR)", null, "OpenVR", "Standalone", 1)]
[SDK_Description("Unity (Android:Daydream)", null, "Daydream", "Android", 2)]
[SDK_Description("Unity (Android:Oculus)", null, "Oculus", "Android", 3)]
[SDK_Description("Unity (Android:OpenVR)", null, "OpenVR", "Android", 4)]
[SDK_Description("Unity (Android:Cardboard)", null, "Cardboard", "Android", 2)]
[SDK_Description("Unity (Android:Daydream)", null, "Daydream", "Android", 3)]
[SDK_Description("Unity (Android:Oculus)", null, "Oculus", "Android", 4)]
[SDK_Description("Unity (Android:OpenVR)", null, "OpenVR", "Android", 5)]
public class SDK_UnitySystem : SDK_BaseSystem
{
/// <summary>
Expand Down

0 comments on commit e07829c

Please sign in to comment.