How should input actions be prioritized and interrupted without a huge if-else chain?
I'm designing an input system for a game where the same key can perform different actions depending on the current context. For example, pressing E might drop a…
I'm designing an input system for a game where the same key can perform different actions depending on the current context. For example, pressing E might drop a…