Class PressureSensor
Input device representing the atmospheric pressure measured by the device playing the content.
Inherited Members
Namespace: UnityEngine.InputSystem
Syntax
public class PressureSensor : Sensor
Properties
atmosphericPressure
Atmospheric pressure in hPa (millibar).
Declaration
public AxisControl atmosphericPressure { get; }
Property Value
Type | Description |
---|---|
AxisControl |
current
Declaration
public static PressureSensor current { get; }
Property Value
Type | Description |
---|---|
PressureSensor |
Methods
FinishSetup()
Declaration
protected override void FinishSetup()
Overrides
MakeCurrent()
Declaration
public override void MakeCurrent()
Overrides
OnRemoved()
Declaration
protected override void OnRemoved()