how to add gaze input timer to trigger an action after gazing for 3secs?
I am new to unity and VR. I have been using google cardboard SDK to create VR apps in unity and am stuck at gazetimer. I want to trigger an action only if the user looks at any object for 3secs but have not been able to do so. Please help Eugene Sia Please see a similar question and answer here Use Gaze Input duration to select UI text in Google Cardboard In summary, create a script to time the gaze, by cumulatively adding Time.deltaTime on each frame when the object is gazed at. When gaze time hits a pre-specified duration, trigger the button's OnClick event. On the object, activate the