Hello everyone,
So my question is fairly simple, but I could not figure out if there is a way to achieve this :
Is it possible to trigger an action only if another one if started or performed ?
I’d like to get events from a stick movement only if one of the cardinal buttons is in started or performed state.
For now, I’m always checking events from any stick movement, and in the callback I am checking if any of cardinal buttons is started or performed. Something like that :
public void FunctionCalledWhenStickMovement() {
if (*any of cardinals button started or performed*) {
// Do something
}
}
Maybe there is something to do with modifiers, but if so I could not figure out how
Or maybe the way I do it for now is acceptable enough ?
Thank you