Tactile Control
Last updated
Last updated
A Tactile Control
is a component that can be attached to any UI game object, providing an interactive on-screen control that allows users to interact through touch.
The Interactable
determines whether the control can be interacted with. It will becomes non-interactable internally if the associated game object or component is disabled.
The component is consists of two main systems which driven the control, organized into collapsible sections:
Clicking the question mark icon on the far right of each drawer opens a documentation dialog, offering detailed information about the selected type and its parameters.
The Touchable Area
defines the screen region where touch interactions are recognized. Different types allow interaction regions to be defined as a box, circle, or other shapes.
The Control Type
defines the specific function of the control, whether it’s for movement, camera, or actions. Each type comes with its own unique control behavior, enhancing the overall interaction.
Located at the bottom part of the component, each Tactile Control must have a unique ID. This ID is used for fast and efficient lookups, especially in scenarios where the component does not yet exist.
If there are duplicate IDs in the scene, an error message will appear above the ID field, showing the hierarchy path of the Tactile Controls that share the same ID. You can use this information to resolve the duplication issue.
To create simply right-click on the hierarchy panel, then go to Game Creator > UI > Tactile > Control, and you're done.