Touch |
The TouchRegion type exposes the following members.
| Name | Description | |
|---|---|---|
| allowedMouseButtons |
The mouse buttons that are allowed to interact with this control.
(Inherited from TouchInteractable) | |
| animation | (Inherited from Component) Obsolete | |
| animator |
Gets the Animator component on this GameObject. Returns null if no Animator component is found.
(Inherited from TouchInteractable) | |
| audio | (Inherited from Component) Obsolete | |
| camera | (Inherited from Component) Obsolete | |
| collider | (Inherited from Component) Obsolete | |
| collider2D | (Inherited from Component) Obsolete | |
| constantForce | (Inherited from Component) Obsolete | |
| enabled | (Inherited from Behaviour) | |
| gameObject | (Inherited from Component) | |
| guiElement | (Inherited from Component) Obsolete | |
| guiText | (Inherited from Component) Obsolete | |
| guiTexture | (Inherited from Component) Obsolete | |
| hideAtRuntime | If enabled, the Touch Region will be hidden when gameplay starts. | |
| hideFlags | (Inherited from Object) | |
| hideWhenIdle |
Sets visibility to False when the control is idle. When the control is no longer idle, visibility will be set to True again.
(Inherited from TouchInteractable) | |
| hingeJoint | (Inherited from Component) Obsolete | |
| image |
Gets the Target Graphic as an Image. If the Target Graphic is not an Image, this will return null.
(Inherited from TouchInteractable) | |
| interactable |
Can the control can be interacted with by the user?
(Inherited from TouchInteractable) | |
| interactionState |
The current interaction state.
(Inherited from TouchInteractable) | |
| isActiveAndEnabled | (Inherited from Behaviour) | |
| light | (Inherited from Component) Obsolete | |
| name | (Inherited from Object) | |
| networkView | (Inherited from Component) Obsolete | |
| particleSystem | (Inherited from Component) Obsolete | |
| renderer | (Inherited from Component) Obsolete | |
| rigidbody | (Inherited from Component) Obsolete | |
| rigidbody2D | (Inherited from Component) Obsolete | |
| runInEditMode | (Inherited from MonoBehaviour) | |
| tag | (Inherited from Component) | |
| targetGraphic |
The target Graphic component for interaction state transitions.
(Inherited from TouchInteractable) | |
| transform | (Inherited from Component) | |
| transitionAnimationTriggers |
Settings using for Animation Trigger transitions.
(Inherited from TouchInteractable) | |
| transitionColorTint |
Settings using for Color Tins transitions.
(Inherited from TouchInteractable) | |
| transitionSpriteState |
Settings using for Sprite State transitions.
(Inherited from TouchInteractable) | |
| transitionType |
The transition type(s) to be used when transitioning to various states. Multiple transition types can be used simultaneously. Denote multiple transition types using bitwise operations.
(Inherited from TouchInteractable) | |
| useGUILayout | (Inherited from MonoBehaviour) | |
| visible |
Is the control visible? An invisible control can still be interacted with. This property only has any effect when used with an Image Component.
(Inherited from TouchInteractable) |