Class Sensor
Base class representing any sensor kind of input device.
Inherited Members
Namespace: UnityEngine.InputSystem
Syntax
public class Sensor : InputDevice
Remarks
Sensors represent device environmental sensors, such as Accelerometers, Gyroscopes, GravitySensors and others.
Properties
samplingFrequency
Declaration
public float samplingFrequency { get; set; }
Property Value
| Type | Description | 
|---|---|
| System.Single |