Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/owl-man/longpress-unityeventtrigger
- Owner: Owl-Man
- Created: 2023-02-13T10:57:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-02-20T19:20:57.000Z (over 1 year ago)
- Last Synced: 2024-10-11T10:20:13.438Z (about 1 month ago)
- Topics: eventtrigger, tool, unity, unity-plugin, unity-script, unity2d, unity2d-package, unity2d-plugin, unity3d, unity3d-package, unity3d-plugin, unityevent
- Language: C#
- Homepage:
- Size: 3.91 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.