onInput method

bool onInput(
  1. T input
)

If one is bound, the UserInterface will pass all bound input events to this Layer if it is the active (top-most) layer. If this method returns false (the default ), the respective lower-level input handler will be called.

See UserInterface.keyBinds and InputBase.

Implementation

bool onInput(T input) => false;