bevy/examples/tools
Alvin Philips f2106bb3ce Reduced code duplication in gamepad_viewer example (#6175)
# Objective

- Reduce code duplication in the `gamepad_viewer` example.
- Fixes #6164 

## Solution

- Added a custom Bundle called `GamepadButtonBundle` to avoid repeating similar code throughout the example.
- Created a `new()` method on `GamepadButtonBundle`.



Co-authored-by: Alvin Philips <alvinphilips257@gmail.com>
2022-10-06 13:33:29 +00:00
..
gamepad_viewer.rs Reduced code duplication in gamepad_viewer example (#6175) 2022-10-06 13:33:29 +00:00
scene_viewer.rs More explicit help how to cycle the cameras (#6162) 2022-10-05 21:22:11 +00:00