Class LinearAccelerationSensor
Inherited Members
Namespace: UnityEngine.InputSystem
Syntax
public class LinearAccelerationSensor : Sensor
Properties
acceleration
Declaration
public Vector3Control acceleration { get; }
Property Value
Type | Description |
---|---|
Vector3Control |
current
Declaration
public static LinearAccelerationSensor current { get; }
Property Value
Type | Description |
---|---|
LinearAccelerationSensor |
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()