Home › Forums › Software Development › Unity UI Gaze Aware Button › Reply To: Unity UI Gaze Aware Button
31/07/2017 at 17:37 #7224
Chris Hoopes
Participant
I actually just implemented this the other day. Easiest way to do it is get the coordinates of the gaze point and use Unity’s UI Graphic Raycaster to figure out what elements they’re looking at and then act on them.
https://docs.unity3d.com/ScriptReference/UI.Graphic.Raycast.html