Click or drag to resize

TouchInteractable Properties

The TouchInteractable type exposes the following members.

Properties
 NameDescription
Public propertyallowedMouseButtons The mouse buttons that are allowed to interact with this control.
Public propertyanimation
(Inherited from Component)
Obsolete
Public propertyanimator Gets the Animator component on this GameObject. Returns null if no Animator component is found.
Public propertyaudio
(Inherited from Component)
Obsolete
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 propertyenabled
(Inherited from Behaviour)
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 propertyhideWhenIdle Sets visibility to False when the control is idle. When the control is no longer idle, visibility will be set to True again.
Public propertyhingeJoint
(Inherited from Component)
Obsolete
Public propertyimage Gets the Target Graphic as an Image. If the Target Graphic is not an Image, this will return null.
Public propertyinteractable Can the control can be interacted with by the user?
Public propertyinteractionState The current interaction state.
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 propertytargetGraphic The target Graphic component for interaction state transitions.
Public propertytransform
(Inherited from Component)
Public propertytransitionAnimationTriggers Settings using for Animation Trigger transitions.
Public propertytransitionColorTint Settings using for Color Tins transitions.
Public propertytransitionSpriteState Settings using for Sprite State transitions.
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.
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.
Top
See Also