Key Hold

Like what your seeing?

Support us as a GitHub Sponsor and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude. These articles are made possible by our GitHub Sponsors ... become a sponsor today!

Introduction

Part of the Interaction Tools of the UX Complete asset

Ever play a game that asked you to push an hold a button for some period of time to activate the action?

The Key Hold event components do just that and are designed to work with Unity's "legacy Input System"

This component is available in two flavors

KeyHoldGameEvent

For use with Heathen Game Events

KeyHoldUnityEvent

For use with standard Unity Events

Definition

Fields and Attributes

Events

Start

Occurs when the action is first started to be held

Cancel

Occurs when the action is released before a complete

Complete

Occurs when the action is fully held for its duration

Progressed

Updated per frame noting the total progress

Last updated