Jump to content

AndrewBaranchikov

Verified Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. Hello, I am using the Unity XR SDK in my project. I need to implement the exit to the main menu when the user takes off the helmet, before the helmet goes into standby mode. I tried to track the moment of withdrawal using the XR API, here is an example implementation: InputDevice headDevice = InputDevices.GetDeviceAtXRNode (XRNode.Head); if (headDevice.isValid == false) return; bool userPresent = false; boolean presenceFeatureSupported = headDevice.TryGetFeatureValue (CommonUsages.userPresence, out userPresent); but it turned out that this option is not
×
×
  • Create New...