using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; namespace Oculus.Platform.Samples.VrVoiceChat { public class VREyeRaycaster : MonoBehaviour { [SerializeField] private EventSystem m_eventSystem; private Button m_currentButton; private void Update() { Button button = null; RaycastHit hitInfo; if (Physics.Raycast(base.transform.position, base.transform.forward, out hitInfo, 50f)) { button = hitInfo.collider.GetComponent