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