Class LightSensor
Inherited Members
Namespace: UnityEngine.InputSystem
Syntax
public class LightSensor : Sensor
Properties
current
Declaration
public static LightSensor current { get; }
Property Value
Type | Description |
---|---|
LightSensor |
lightLevel
Light level in SI lux units.
Declaration
public AxisControl lightLevel { get; }
Property Value
Type | Description |
---|---|
AxisControl |
Methods
FinishSetup(InputDeviceBuilder)
Declaration
protected override void FinishSetup(InputDeviceBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
InputDeviceBuilder | builder |
Overrides
MakeCurrent()
Declaration
public override void MakeCurrent()
Overrides
OnRemoved()
Declaration
protected override void OnRemoved()