i am creating a VR app with gui buttons. i want to trigger the button if user keeps the button for active for a specified time. Like the one explained in Google design patterns.
Here is a youtube link on how to animate fuse buttons in Mobile VR apps
First, you have to place a UI element in world space. Add a collider to it. Then, use the Gaze provided by the Cardboard SDK to check for a collision. If your UI element detects a gaze, it starts off a timer and animates a fuse. If the gaze leaves the UI element before the timer reaches 0, you do noting. Otherwise, activate the fuse button.