Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.

how to Indicates whether the user is currently gazing at an object in the new holotoolkit?

linoysarlinoysar
edited September 2018 in General

I have a project with an old holotoolkit that I used in GazeManager.Instance.IsGazingAtObject
I saw that this is Obsolete("Use FocusManager.TryGetFocusDetails")
But I can not figure out how to use it, I'll be happy to get help
That's what happened in my old project (its not working):
 if (GazeManager.Instance.IsGazingAtObject &&GazeManager.Instance.HitInfo.collider! = null)
        {
            GameObject obj = GazeManager.Instance.HitInfo.collider.gameObject;
            UpdateFocusObject (obj);

        }

Sign In or Register to comment.