This repository has been archived by the owner on Nov 8, 2019. It is now read-only.
GVR SDK for Unity v1.30.0
Fixes
- Fixed Unity 5.6.0b5 editor emulation. See (issue 451).
- Fixed editor unsaved bit churning.
- (X) now closes demo scenes.
Additions
-
Added
GvrActivityHelper
, a utility/helper class for Android activities. -
Added
GvrControllerVisual.AlphaValue
, which allows you to control the transparency of the controller visual. This value can also be accessed through C# scripting. -
Added
GvrRecenterOnlyController.cs
. This is intended for 360° apps (e.g. 360° video) that should recenter only the controller, and not the headset.
To use it:- Add the script as a component to any
GameObject
in the scene - Set the Camera and controller (
GvrControllerPointer > Controller
) to recenter.
The VideoDemo's Pano (360) example has been updated to use this script.
- Add the script as a component to any
Changes
IGvrPointer
has been removed, and its functionality has been merged withGvrBasePointer
. If you were usingIGvrPointer
, simply useGvrBasePointer
instead as their APIs are identical.- Deleted
GazeInputModule
.GvrPointerInputModule
should be used instead.