using System; namespace UnityEngine.XR.Interaction.Toolkit.Inputs.Readers { /// /// Serializable class that wraps a string usage name for use with . /// /// Type of the value the usage represents, such as or . /// [Serializable] public sealed class InputFeatureUsageString where T : struct { [SerializeField] string m_Name; /// /// The string name of the usage feature, which maps to an input feature on a device. /// public string name { get => m_Name; set => m_Name = value; } /// /// Initializes and returns an instance of . /// public InputFeatureUsageString() { } /// /// Initializes and returns an instance of . /// /// The string name of the usage feature, which maps to an input feature on a device. public InputFeatureUsageString(string usageName) { m_Name = usageName; } } }