Virtual Reality — Input and Hand presence

void Start(){
List<InputDevice> devices = new List<InputDevice>();
InputDevices.GetDevices(devices);
foreach(var item in devices){
Debug.log(item.name + item.characteristics);
}
}
void Start(){
List<InputDevice> devices = new List<InputDevice>();
InputDeviceCharacteristics rightControllerCharacteristics =
InputDeviceCharacteristics.right |
InputDeviceCharacteristics.Controller;
InputDevices.GetDevicesWithCharacteristics(
rightControllerCharacteristics, devices);
foreach(var item in devices){
Debug.log(item.name + item.characteristics);
}
}

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store