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.
Readonly
sceneThe scene object this component is on.
Readonly
uniqueDestroys 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