public bool TryGetHapticCapabilities(out HapticCapabilities capabilities)
 {
     if (CheckValidAndSetDefault(out capabilities))
     {
         return(InputDevices.TryGetHapticCapabilities(m_DeviceId, out capabilities));
     }
     return(false);
 }
Exemple #2
0
 public bool TryGetHapticCapabilities(out HapticCapabilities capabilities)
 {
     return(InputDevices.TryGetHapticCapabilities(m_DeviceId, out capabilities));
 }
        public bool TryGetHapticCapabilities(out HapticCapabilities capabilities)
        {
            bool flag = this.CheckValidAndSetDefault <HapticCapabilities>(out capabilities);

            return(flag && InputDevices.TryGetHapticCapabilities(this.m_DeviceId, out capabilities));
        }