Click or drag to resize

TiltControl Properties

The TiltControl type exposes the following members.

Properties
  NameDescription
Public propertyanimation Obsolete. (Inherited from Component.)
Public propertyaudio Obsolete. (Inherited from Component.)
Public propertyaxesToUse
The axis directions in which movement is allowed. You can restrict movement to one or both axes.
Public propertyaxis2DCalibration
The calibration settings for the 2D axis.
Public propertycamera Obsolete. (Inherited from Component.)
Public propertycollider Obsolete. (Inherited from Component.)
Public propertycollider2D Obsolete. (Inherited from Component.)
Public propertyconstantForce Obsolete. (Inherited from Component.)
Public propertydeadZoneType Obsolete.
The calibration settings for the 2D axis.
Public propertyenabled (Inherited from Behaviour.)
Public propertyforwardRestAngle
The offset angle from vertical which will be considered the resting angle. This represents the angle at which the user holds the device without generating tilt. A typical value would be around 40 degrees.
Public propertyforwardTiltCustomControllerElement
The Custom Controller element that will receive input values from the Y axis.
Public propertyforwardTiltLimit
The maximum forward tilt angle in degrees. When the device is tilted to this angle or further in either direction, the axis will return a value of 1/-1.
Public propertygameObject (Inherited from Component.)
Public propertyguiElement Obsolete. (Inherited from Component.)
Public propertyguiText Obsolete. (Inherited from Component.)
Public propertyguiTexture Obsolete. (Inherited from Component.)
Public propertyhideFlags (Inherited from Object.)
Public propertyhingeJoint Obsolete. (Inherited from Component.)
Public propertyhorizontalAxisCalibration
The calibration settings for the horizontal axis.
Public propertyhorizontalRestAngle
The offset angle from horizontal which will be considered the resting angle. This represents the angle at which the user holds the device without generating tilt.
Public propertyhorizontalTiltCustomControllerElement
The Custom Controller element that will receive input values from the X axis.
Public propertyhorizontalTiltLimit
The maximum horizontal tilt angle in degrees. When the device is tilted to this angle or further in either direction, the axis will return a value of 1/-1.
Public propertyisActiveAndEnabled (Inherited from Behaviour.)
Public propertylight Obsolete. (Inherited from Component.)
Public propertyname (Inherited from Object.)
Public propertynetworkView Obsolete. (Inherited from Component.)
Public propertyparticleSystem Obsolete. (Inherited from Component.)
Public propertyrenderer Obsolete. (Inherited from Component.)
Public propertyrigidbody Obsolete. (Inherited from Component.)
Public propertyrigidbody2D Obsolete. (Inherited from Component.)
Public propertyrunInEditMode (Inherited from MonoBehaviour.)
Public propertytag (Inherited from Component.)
Public propertytransform (Inherited from Component.)
Public propertyuseGUILayout (Inherited from MonoBehaviour.)
Public propertyverticalAxisCalibration
The calibration settings for the vertical axis.
Top
See Also