A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
XRHMD hmd = InputSystem.GetDevice<XRHMD>();
I can get a controller by doing XRController leftController = XRController.leftHand; but I can't get the HMD in a similar way... ♨_♨
I made a small change to my code to now only get MonoBehaviour components. Which took care of all of the false positives in my current project.
I made a simple method, that performs the check. GameObject[] objects = GameObject.FindObjectsOfType<GameObject>(); foreach (GameObject obj in...
Nothing worse than going to test your code only to be blue balled by a NullReferenceException. Diligence only getting you so far, and contributing...