Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize the SinglePress / ContinuedPress Update events in Command.cs #4

Open
Artanisx opened this issue Jan 21, 2020 · 0 comments
Open
Assignees
Labels
enhancement New feature or request input Related to the Input module.

Comments

@Artanisx
Copy link
Owner

Currently each Update() inside Command.cs will check for both SinglePress behaviour and ContinuedPress. That happens even if, for instance, only a SinglePress event has been linked to the handler.

Optimize this workflow in order to avoid checking for unwanted events.

@Artanisx Artanisx added enhancement New feature or request input Related to the Input module. labels Jan 21, 2020
@Artanisx Artanisx self-assigned this Jan 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request input Related to the Input module.
Projects
None yet
Development

No branches or pull requests

1 participant