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
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)
At the 33 line.
if ((GazeManager.Instance.RaycastLayerMask & this.gameObject.layer) == 0)
I think judge whether a layer in the layerMask,probably useif ((GazeManager.Instance.RaycastLayerMask & (1<< this.gameObject.layer)) != 0)