namespace UnityEngine.XR.Interaction.Toolkit.Inputs.Readers { /// /// A that provides a value from a device /// from the XR input subsystem as defined by its characteristics and feature usage string. /// Intended to be used with an as its object reference /// or as part of an . /// [HelpURL(XRHelpURLConstants.k_XRInputDeviceBoolValueReader)] [CreateAssetMenu(fileName = "XRInputDeviceBoolValueReader", menuName = "XR/Input Value Reader/bool")] public class XRInputDeviceBoolValueReader : XRInputDeviceValueReader { /// public override bool ReadValue() => ReadBoolValue(); /// public override bool TryReadValue(out bool value) => TryReadBoolValue(out value); } }