Makinom - Game Toolkit for Unity
  • Features
  • Showcase
  • Guide
    • Documentation
    • Tutorials
    • Extensions
    • API
  • Makinom 1
    • Tutorials
    • Plugins
    • API
  • Support
  • Forum
  • Get Makinom

Guide

Getting Started

  • Introduction
  • First Steps
  • Game Starters
  • Components Overview
  • Upgrading a Makinom 1 Project

Editor

  • Makinom Editor Overview
  • Node Editor
  • Asset Sources
  • Editor Section
  • Base/Control Section
  • Game Section
  • UI Section
  • Templates Section

Features

  • Schematics
  • Schematic Nodes
  • Formula Nodes
  • Languages
  • Input Keys
  • Audio and Music
  • Game States
  • Pooling
  • Saving Game Objects
  • Scene Objects
  • Save Games
  • Variables
  • Selected Data

Machines

  • Machine Components Overview
  • Animation Machine
  • Animation State Machine
  • Application Machine
  • Auto Machine
  • Collision Machine
  • Global Machine
  • Interaction Machine
  • Render Machine
  • Tagged Machine
  • Template Machine
  • Tick Machine
  • Trigger Machine

UI System

  • UI System Overview
  • UI Layers
  • UI Layouts
  • UI Boxes
  • HUDs
  • Flying Texts
  • Text Codes
  • Unity UI Module
  • HUDs: Content Providers
  • HUDs: Conditions
  • HUDs: Click Actions

Scripting

  • Scripting Overview
  • Code Extensions
  • Custom Save Data
  • Custom Component Save Data
  • Custom Nodes
  • Starting a Schematic

Advanced Topics

  • Build Troubleshooting
  • Performance Optimizations
  • Home
  • Guide
  • Documentation
  • UI System
  • HUDs: Click Actions

HUDs: Click Actions

Table of Contents
  • Click Actions
    • Global Machine
    • Schematic
    • Tagged Machine
    • Toggle HUDs
  • UI Modules
    • Unity UI

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).

UI
Share This Article :
  • Facebook
  • Twitter
  • LinkedIn
  • Pinterest
Updated on September 17, 2022
Table of Contents
  • Click Actions
    • Global Machine
    • Schematic
    • Tagged Machine
    • Toggle HUDs
  • UI Modules
    • Unity UI
Sitemap
  • Features
  • Showcase
  • Guide
    • Documentation
    • Tutorials
    • Extensions
    • API
  • Makinom 1 Hub
    • Tutorials
    • Plugins
    • API
  • Support
  • Forum
  • Get Makinom
  • Contact
  • Blog
  • ORK Framework
  • gamingislove.com
Categories
  • Makinom 1 (97)
    • Tutorial (97)
      • 2D Platformer (14)
      • 2D Roguelike (8)
      • Breakout (6)
      • How-to (34)
      • Match 3 (6)
      • Schematic (4)
      • Scripting (6)
      • Space Shooter (11)
      • Survival Shooter (8)
  • News (11)
  • Release (67)
Search

© 2015 Gaming is Love e.U.

Disclosure: This site may contain affiliate links, which means I may receive a commission if you click a link and purchase something that I have recommended. While clicking these links won’t cost you any money, they will help me fund my development projects while recommending great assets!