usingJMRSDK.InputModule;usingUnityEngine;publicclassGetHitInfoExample:MonoBehaviour{privatevoidUpdate() {Ray ray =JMRSDK.InputModule.JMRPointerManager.Instance.GetCurrentRay();if(Physics.Raycast(ray, out RaycastHit hit)) {Debug.Log(hit.transform.name); } }}
usingJMRSDK.InputModule;usingUnityEngine;publicclassGetCursorFocusedObjectExample:MonoBehaviour,ISelectHandler{privatevoidUpdate() {GameObject go =JMRPointerManager.Instance.GetCurrentFocusedObject(); }}
usingJMRSDK.InputModule;usingUnityEngine;publicclassGetCurrentRayExample:MonoBehaviour{privatevoidUpdate() {Ray ray =JMRSDK.InputModule.JMRPointerManager.Instance.GetCurrentRay(); }}