Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


InputFeatureUsage

Defines a generic usage that maps to an input feature on a device. Use the As method to turn into a generic usage.
Read time 1 minuteLast updated 6 days ago

Definition

public struct InputFeatureUsage : IEquatable<InputFeatureUsage>

Properties

Property

Description

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

Methods

Method

Description

AsReturns the generic version of this type for retrieving a feature value from a device.