Skip to content

Commit c5f465e

Browse files
author
Stephen Hodgson
authored
Merge pull request #528 from moisoiu/master
Compatibility with Vuforia: GazeTransform initialization.
2 parents 2139e99 + df8cd4e commit c5f465e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Assets/HoloToolkit/Input/Scripts/Gaze/GazeManager.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,10 @@ protected override void Awake()
106106
{
107107
RaycastLayerMasks = new LayerMask[] { Physics.DefaultRaycastLayers };
108108
}
109+
}
109110

111+
private void Start()
112+
{
110113
if (GazeTransform == null)
111114
{
112115
if (Camera.main != null)

0 commit comments

Comments
 (0)