microsoft / MixedRealityToolkit-Unity

This repository is for the legacy Mixed Reality Toolkit (MRTK) v2. For the latest version of the MRTK please visit https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity
https://aka.ms/mrtkdocs
MIT License
6k stars 2.12k forks source link

Sorry,but maybe there's a small error on HoloToolkit-Unity/Assets/HoloToolkit/Input/Scripts/BasicCursor.cs #197

Closed zwxbest closed 7 years ago

zwxbest commented 8 years ago

At the 33 line. if ((GazeManager.Instance.RaycastLayerMask & this.gameObject.layer) == 0) I think judge whether a layer in the layerMask,probably use if ((GazeManager.Instance.RaycastLayerMask & (1<< this.gameObject.layer)) != 0)

jwittner commented 8 years ago

Wanna make the change and submit a PR?