Click or drag to resize

TouchRegion Properties

The TouchRegion type exposes the following members.

Properties
  NameDescription
Public propertyallowedMouseButtons
The mouse buttons that are allowed to interact with this control.
(Inherited from TouchInteractable.)
Public propertyanimation Obsolete. (Inherited from Component.)
Public propertyanimator
Gets the Animator component on this GameObject. Returns null if no Animator component is found.
(Inherited from TouchInteractable.)
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 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 propertyhideAtRuntime
If enabled, the Touch Region will be hidden when gameplay starts.
Public propertyhideFlags (Inherited from Object.)
Public propertyhideWhenIdle
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.)
Public propertyhingeJoint Obsolete. (Inherited from Component.)
Public propertyimage
Gets the Target Graphic as an Image. If the Target Graphic is not an Image, this will return null.
(Inherited from TouchInteractable.)
Public propertyinteractable
Can the control can be interacted with by the user?
(Inherited from TouchInteractable.)
Public propertyinteractionState
The current interaction state.
(Inherited from TouchInteractable.)
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 propertytargetGraphic
The target Graphic component for interaction state transitions.
(Inherited from TouchInteractable.)
Public propertytransform (Inherited from Component.)
Public propertytransitionAnimationTriggers
Settings using for Animation Trigger transitions.
(Inherited from TouchInteractable.)
Public propertytransitionColorTint
Settings using for Color Tins transitions.
(Inherited from TouchInteractable.)
Public propertytransitionSpriteState
Settings using for Sprite State transitions.
(Inherited from TouchInteractable.)
Public propertytransitionType
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.)
Public propertyuseGUILayout (Inherited from MonoBehaviour.)
Public propertyvisible
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.)
Top
See Also