The Side Scrolling Runner sample only uses Quantum's Input struct for all of its input, so there were no Commands used in this sample.
Find the simple input polling in
LocalInput.cs, where it uses Unity's Input API.
The game controls are defined as follow:
Space Barto perform a short jump;
- Press and hold
Space Barto perform a long jump;
Left Shiftto use gadgets.
There are three booleans in the Input struct which are packed into a single byte:
The input is processed using the helper structs
GadgetDesires. Desires are filled based on the player’s input polled from Unity; they could also be replaced by generated Input for AI (not implemented in this sample).