Home › Forums › XR Discussions › Check manually if an object is in focus › Reply To: Check manually if an object is in focus
19/12/2018 at 15:26 #9163
If you want to know if the object has gaze focus at any time, you can just store the hasFocus in a field every time its changed, like:
public void GazeFocusChanged(bool hasFocus)
_hasFocus = hasFocus;
Hope it helps.