Click or drag to resize

TiltControl Properties

The TiltControl type exposes the following members.

Properties
 NameDescription
Public propertyanimation
(Inherited from Component)
Obsolete
Public propertyaudio
(Inherited from Component)
Obsolete
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
(Inherited from Component)
Obsolete
Public propertycollider
(Inherited from Component)
Obsolete
Public propertycollider2D
(Inherited from Component)
Obsolete
Public propertyconstantForce
(Inherited from Component)
Obsolete
Public propertydeadZoneType The calibration settings for the 2D axis.
Obsolete
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
(Inherited from Component)
Obsolete
Public propertyguiText
(Inherited from Component)
Obsolete
Public propertyguiTexture
(Inherited from Component)
Obsolete
Public propertyhideFlags
(Inherited from Object)
Public propertyhingeJoint
(Inherited from Component)
Obsolete
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
(Inherited from Component)
Obsolete
Public propertyname
(Inherited from Object)
Public propertynetworkView
(Inherited from Component)
Obsolete
Public propertyparticleSystem
(Inherited from Component)
Obsolete
Public propertyrenderer
(Inherited from Component)
Obsolete
Public propertyrigidbody
(Inherited from Component)
Obsolete
Public propertyrigidbody2D
(Inherited from Component)
Obsolete
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