Click or drag to resize

TouchController Properties

The TouchController type exposes the following members.

Properties
  NameDescription
Public propertyanimation Obsolete. (Inherited from Component.)
Public propertyaudio Obsolete. (Inherited from Component.)
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 propertycreateCustomControllerSettings
Settings for creating a Custom Controller on start.
(Inherited from CustomController.)
Public propertycustomControllerSelector
Contains search parameters to find a particular Custom Controller.
(Inherited from CustomController.)
Public propertydisableMouseInputWhenEnabled
If true, disables mouse input when the Touch Controller script is enabled or GameObject is activated and re-enables mouse input when the script is disabled or GameObject is deactivated. This is useful for disabling Mouse Look controls when using touch controls in an FPS for example.
Public propertyenabled (Inherited from Behaviour.)
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 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 propertyrewiredInputManager
(Optional) Link the Rewired Input Manager here for easier access to Custom Controller elements, etc.
(Inherited from CustomController.)
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 propertyuseCustomController
If true, a Custom Controller will be populated with the data from this controller.
Public propertyuseGUILayout (Inherited from MonoBehaviour.)
Top
See Also