Example #1
0
        protected virtual void HandleOver()
        {
            // Activate vrButton's OnEnter() in order to highlight the button
            var eventPtr = new PointerEventData(EventSystem.current);

            ExecuteEvents.Execute(this.gameObject, eventPtr, ExecuteEvents.pointerEnterHandler);
            //check if user wants to use radial gaze timer
            if (m_gazeTimer)
            {
                // When the user looks at the rendering of the scene, show the radial.
                if (null != m_selector)
                {
                    m_selector.Show();
                }
                m_GazeOver = true;
            }
            HandleOverKeyBtnsUIStatus();
        }