TouchRegion Class |
Namespace: Rewired.ComponentControls
[SerializableAttribute] public sealed class TouchRegion : TouchInteractable
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 | Obsolete. (Inherited from Component.) | |
animator |
Gets the Animator component on this GameObject. Returns null if no Animator component is found.
(Inherited from TouchInteractable.) | |
audio | Obsolete. (Inherited from Component.) | |
camera | Obsolete. (Inherited from Component.) | |
collider | Obsolete. (Inherited from Component.) | |
collider2D | Obsolete. (Inherited from Component.) | |
constantForce | Obsolete. (Inherited from Component.) | |
enabled | (Inherited from Behaviour.) | |
gameObject | (Inherited from Component.) | |
guiElement | Obsolete. (Inherited from Component.) | |
guiText | Obsolete. (Inherited from Component.) | |
guiTexture | Obsolete. (Inherited from Component.) | |
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 | Obsolete. (Inherited from Component.) | |
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 | Obsolete. (Inherited from Component.) | |
name | (Inherited from Object.) | |
networkView | Obsolete. (Inherited from Component.) | |
particleSystem | Obsolete. (Inherited from Component.) | |
renderer | Obsolete. (Inherited from Component.) | |
rigidbody | Obsolete. (Inherited from Component.) | |
rigidbody2D | Obsolete. (Inherited from Component.) | |
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.) |
Name | Description | |
---|---|---|
BroadcastMessage(String) | (Inherited from Component.) | |
BroadcastMessage(String, Object) | (Inherited from Component.) | |
BroadcastMessage(String, SendMessageOptions) | (Inherited from Component.) | |
BroadcastMessage(String, Object, SendMessageOptions) | (Inherited from Component.) | |
CancelInvoke | (Inherited from MonoBehaviour.) | |
CancelInvoke(String) | (Inherited from MonoBehaviour.) | |
ClearValue | (Overrides ComponentControlClearValue.) | |
CompareTag | (Inherited from Component.) | |
Equals | (Inherited from Object.) | |
GetComponent(Type) | (Inherited from Component.) | |
GetComponent(String) | (Inherited from Component.) | |
GetComponent``1 | (Inherited from Component.) | |
GetComponentInChildren(Type) | (Inherited from Component.) | |
GetComponentInChildren(Type, Boolean) | (Inherited from Component.) | |
GetComponentInChildren``1 | (Inherited from Component.) | |
GetComponentInChildren``1(Boolean) | (Inherited from Component.) | |
GetComponentInParent(Type) | (Inherited from Component.) | |
GetComponentInParent``1 | (Inherited from Component.) | |
GetComponents(Type) | (Inherited from Component.) | |
GetComponents(Type, ListComponent) | (Inherited from Component.) | |
GetComponents``1 | (Inherited from Component.) | |
GetComponents``1(ListUMP) | (Inherited from Component.) | |
GetComponentsInChildren(Type) | (Inherited from Component.) | |
GetComponentsInChildren(Type, Boolean) | (Inherited from Component.) | |
GetComponentsInChildren``1 | (Inherited from Component.) | |
GetComponentsInChildren``1(Boolean) | (Inherited from Component.) | |
GetComponentsInChildren``1(ListUMP) | (Inherited from Component.) | |
GetComponentsInChildren``1(Boolean, ListUMP) | (Inherited from Component.) | |
GetComponentsInParent(Type) | (Inherited from Component.) | |
GetComponentsInParent(Type, Boolean) | (Inherited from Component.) | |
GetComponentsInParent``1 | (Inherited from Component.) | |
GetComponentsInParent``1(Boolean) | (Inherited from Component.) | |
GetComponentsInParent``1(Boolean, ListUMP) | (Inherited from Component.) | |
GetHashCode | (Inherited from Object.) | |
GetInstanceID | (Inherited from Object.) | |
Invoke | (Inherited from MonoBehaviour.) | |
InvokeRepeating | (Inherited from MonoBehaviour.) | |
IsInteractable | (Inherited from TouchInteractable.) | |
IsInvoking | (Inherited from MonoBehaviour.) | |
IsInvoking(String) | (Inherited from MonoBehaviour.) | |
SendMessage(String) | (Inherited from Component.) | |
SendMessage(String, Object) | (Inherited from Component.) | |
SendMessage(String, SendMessageOptions) | (Inherited from Component.) | |
SendMessage(String, Object, SendMessageOptions) | (Inherited from Component.) | |
SendMessageUpwards(String) | (Inherited from Component.) | |
SendMessageUpwards(String, Object) | (Inherited from Component.) | |
SendMessageUpwards(String, SendMessageOptions) | (Inherited from Component.) | |
SendMessageUpwards(String, Object, SendMessageOptions) | (Inherited from Component.) | |
StartCoroutine(String) | (Inherited from MonoBehaviour.) | |
StartCoroutine(IEnumerator) | (Inherited from MonoBehaviour.) | |
StartCoroutine(String, Object) | (Inherited from MonoBehaviour.) | |
StartCoroutine_Auto | Obsolete. (Inherited from MonoBehaviour.) | |
StopAllCoroutines | (Inherited from MonoBehaviour.) | |
StopCoroutine(IEnumerator) | (Inherited from MonoBehaviour.) | |
StopCoroutine(Coroutine) | (Inherited from MonoBehaviour.) | |
StopCoroutine(String) | (Inherited from MonoBehaviour.) | |
ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
BeginDragEvent | ||
DragEvent | ||
EndDragEvent | ||
InteractionStateChangedToDisabled |
Event sent when interaction state changes to Disabled.
(Inherited from TouchInteractable.) | |
InteractionStateChangedToHighlighted |
Event sent when interaction state changes to Highlighted.
(Inherited from TouchInteractable.) | |
InteractionStateChangedToNormal |
Event sent when interaction state changes to Normal.
(Inherited from TouchInteractable.) | |
InteractionStateChangedToPressed |
Event sent when interaction state changes to Pressed.
(Inherited from TouchInteractable.) | |
InteractionStateSetEvent |
Event sent when the Interaction State changes.
(Inherited from TouchInteractable.) | |
PointerDownEvent | ||
PointerEnterEvent | ||
PointerExitEvent | ||
PointerUpEvent | ||
VisibilityChangedEvent |
Event sent when visibility changes.
(Inherited from TouchInteractable.) |