If disabled, the Component will stop enacting its behavior.
If enabled, the Gyroscope's rotation will be inverted when the front facing camera is active.
If enabled, the Gyroscope's rotation will be inverted.
ReadonlyisReturns true if this Component, its SceneObject, and all of that SceneObjects parents are enabled.
ReadonlysceneThe SceneObject this component is on.
ReadonlyuniqueDestroys the component.
Returns the SceneObject the component is attached to.
Returns the Transform this component is attached to.
Returns the name of this object's type.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other. Useful for checking if two references point to the same thing.
This class has been Deprecated. Please instead use the DeviceTracking component with Tracking Mode set to Rotation. See the Tracking Modes guide for more information.
Applies the device's gyroscope rotation to the SceneObject it is attached to.
Deprecated
Example