Touch |
The TouchInteractable type exposes the following members.
| Name | Description | |
|---|---|---|
| allowedMouseButtons | The mouse buttons that are allowed to interact with this control. | |
| animation | (Inherited from Component) Obsolete | |
| animator | Gets the Animator component on this GameObject. Returns null if no Animator component is found. | |
| 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 | |
| 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. | |
| 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. | |
| interactable | Can the control can be interacted with by the user? | |
| interactionState | The current interaction state. | |
| 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. | |
| transform | (Inherited from Component) | |
| transitionAnimationTriggers | Settings using for Animation Trigger transitions. | |
| transitionColorTint | Settings using for Color Tins transitions. | |
| transitionSpriteState | Settings using for Sprite State transitions. | |
| 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. | |
| 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. |