Skip to content

Conversation

@HEIHUAa
Copy link
Contributor

@HEIHUAa HEIHUAa commented Jan 19, 2026

Move the justPressed check into pressed to reduce performance overhead. updatePlayerInput no longer rechecks states.

Checking states in the C++ code was a relatively heavy operation (about 115 lines), but now it's down to just one line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant