public bool TryGetFeatureValue(InputFeatureUsage <Bone> usage, out Bone value)
 {
     if (CheckValidAndSetDefault(out value))
     {
         return(InputDevices.TryGetFeatureValue_XRBone(m_DeviceId, usage.name, out value));
     }
     return(false);
 }
Beispiel #2
0
 public bool TryGetFeatureValue(InputFeatureUsage <Bone> usage, out Bone value)
 {
     return(InputDevices.TryGetFeatureValue_XRBone(m_DeviceId, usage.name, out value));
 }
        public bool TryGetFeatureValue(InputFeatureUsage <Bone> usage, out Bone value)
        {
            bool flag = this.CheckValidAndSetDefault <Bone>(out value);

            return(flag && InputDevices.TryGetFeatureValue_XRBone(this.m_DeviceId, usage.name, out value));
        }