Class AmbientTemperatureSensor
Input device representing the ambient air temperature measured by the device playing the content.
Inherited Members
Namespace: UnityEngine.InputSystem
Syntax
public class AmbientTemperatureSensor : Sensor
Properties
ambientTemperature
Temperature in degree Celsius.
Declaration
public AxisControl ambientTemperature { get; }
Property Value
Type | Description |
---|---|
AxisControl |
current
Declaration
public static AmbientTemperatureSensor current { get; }
Property Value
Type | Description |
---|---|
AmbientTemperatureSensor |
Methods
FinishSetup()
Declaration
protected override void FinishSetup()
Overrides
MakeCurrent()
Declaration
public override void MakeCurrent()
Overrides
OnRemoved()
Declaration
protected override void OnRemoved()