文档

Unity Engine

Unity Engine

InputFeatureUsage<T>

Defines a generic usage that maps to an input feature on a device.
阅读时间1 分钟最后更新于 1 个月前

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.