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