Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/owl-man/longpress-unityeventtrigger

Trigger events while the button is pressed
https://github.com/owl-man/longpress-unityeventtrigger

eventtrigger tool unity unity-plugin unity-script unity2d unity2d-package unity2d-plugin unity3d unity3d-package unity3d-plugin unityevent

Last synced: 10 days ago
JSON representation

Trigger events while the button is pressed

Awesome Lists containing this project

README

        

# LongPress-UnityEventTrigger
### A tool that allows you to call functions not only when the button is just pressed and released, as with a Unity Trigger - On Pointer, but also every time while the button is pressed.

It is enough to add a LongPressEventTrigger component and specify all the necessary events to trigger in it, as with a default unity button component, and everything will work.

But you can also specify how often events should be triggered when the button is pressed - **tact** paramter (The lower the value, the more often; the higher the value, the less often). Balance value is set by default.