Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


InputFeatureUsage<T>

Defines a generic usage that maps to an input feature on a device.
Read time 1 minuteLast updated 4 days ago

Definition

public struct InputFeatureUsage<T> : IEquatable<InputFeatureUsage<T>>

Constructors

Constructor

Description

InputFeatureUsage`1(System.String)Construct a usage from a usage name.

Properties

Property

Description

nameThe string name of this usage feature; used internally to map to an input feature on a device.

Operators

Operator

Description

InputFeatureUsageConverts a generic InputFeatureUsage\<T\> into an InputFeatureUsage.