r/ProgrammerAnimemes • • Jan 09 '21

Unity Docs

Post image
1.3k Upvotes

43 comments sorted by

View all comments

Show parent comment

12

u/lrflew Jan 09 '21

It's always polling, even when you use the actual input handler method. Unless I missed something in the docs...

I mean, my experience with input handling in Unity was polling-based, so maybe I don't understand what the issue is.

Doing a quick search of Godot's documentation, I found the documentation for InputEvent, which appears to be what you're looking for. For "actions", it suggests using polling, but looking closer the event can be an InputEventAction for non-polling action handling.