View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0.1
- Last updated
- First released
- Unity version
- 2018.4.27 or later
- Package size
- 1.2 MB
- Files
- 16
- Favorites
- 11
- Views in the past week
- 15
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $6.99 on
Keywords
- Search for usability
- Search for textmeshpro
- Search for prevent accidental click
- Search for confirmation dialogue
- Search for confirmation dialog
- Search for timeout button
- Search for timed button
- Search for timeout
- Search for delayed button
- Search for hold to execute
- Search for long press button
- Search for hold button
Button Long Press
Price $6.99
Buy on Asset Store (opens in new tab)
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 4
Button Long Press screenshot 1
About this asset
No more "Are You Sure?" popups!
- Minimal configuration required, just add your style and it's ready for use
- Supports all input methods (Mouse, Touch, Keyboard, Controller)
- Supports new Unity Input System out of the box
- Supports Legacy Input out of the box
- Supports TextMeshPro, or any other text provider (doesn't use text directly)
- Includes a visual hold progress update via a generic Slider (optional)
- On Click Start event for beginning of the hold
- On Click Cancel event for incomplete hold
- On Click Complete event for holding long enough
- Required Hold Time option
- Execute On Release option gives more control over the execution behavior
- Retrigger option
- Ways to get progress percentage and current hold time in code
- Clean code
- Zero Garbage
Asset support forum thread
A configurable UI Button that executes an event after a long press. It replaces the need to have modal dialogs and click confirmations for sensitive actions, giving friendlier user experience for players.
Features- Minimal configuration required, just add your style and it's ready for use
- Supports all input methods (Mouse, Touch, Keyboard, Controller)
- Supports new Unity Input System out of the box
- Supports Legacy Input out of the box
- Supports TextMeshPro, or any other text provider (doesn't use text directly)
- Includes a visual hold progress update via a generic Slider (optional)
- On Click Start event for beginning of the hold
- On Click Cancel event for incomplete hold
- On Click Complete event for holding long enough
- Required Hold Time option
- Execute On Release option gives more control over the execution behavior
- Retrigger option
- Ways to get progress percentage and current hold time in code
- Clean code
- Zero Garbage
Asset support forum thread
From the publisher's Asset Store listing.