Learn more about HUD click actions.
HUD click actions are used to execute something when clicking on a part of a HUD.
The click actions can use their content provider’s user/content in their action. You can learn more about content providers in this documentation.
Click Actions #
Each click action defines how it’ll be started.
- Click Count
Defines how many clicks are needed to start the action.
E.g. 1 for a single click or 2 for a double click. - Left/Middle/Right Click
Defines which mouse button is used. - Release After
Optionally require the click to be held for a defined time. - Consume Click
Defines if the action consumes the click.
If the click is consumed, click actions added after the consuming action will not use the click (if the action was used).
Disabling this allows to use multiple actions with the same click. - Click Clip
Optionally play an audio clip when using the click action.
The following click actions are available (other Makinom extensions can add their own click actions, e.g. ORK Framework).
Global Machine #
A global machine is started, using the content provider’s user/content as machine object and the player as starting object.
Schematic #
A schematic is started, using the content provider’s user/content as machine object and the player as starting object.
Tagged Machine #
A tagged machine is started, either on the content provider’s user/content or all tagged machines in the scene.
Toggle HUDs #
Toggles other HUDs on/off.
UI Modules #
The actual use of HUD click actions depends on the used UI module.
Unity UI #
The Unity UI module uses the HUD Click components to add HUD click actions.
The component also requires some graphic element that catches UI raycasts, e.g. an Image component (even when not displaying anything in it).