bevy/examples/input
krunchington f68ed878e5
Update text_input and virtual_time examples to use Improved Spawning API (#18249)
# Objective

Contributes to #18238 
Updates the `text_input` and `virtual_time` examples to use the
`children!` macro. I wanted to keep the PR small but chose to do two
examples since they both included only a single `with_children` call.

## Solution

Updates examples to use the Improved Spawning API merged in
https://github.com/bevyengine/bevy/pull/17521

## Testing

- Did you test these changes? If so, how?
- Opened the examples before and after and verified the same behavior
was observed. I did this on Ubuntu 24.04.2 LTS using `--features
wayland`.
- Are there any parts that need more testing?
- Other OS's and features can't hurt, but this is such a small change it
shouldn't be a problem.
- How can other people (reviewers) test your changes? Is there anything
specific they need to know?
  - Run the examples yourself with and without these changes.
- If relevant, what platforms did you test these changes on, and are
there any important ones you can't test?
  - see above

---

## Showcase

n/a

## Migration Guide

n/a
2025-03-11 05:47:56 +00:00
..
char_input_events.rs Fix inconsistency in KeyboardInput examples to match migration guide (#14185) 2024-07-15 15:03:48 +00:00
gamepad_input_events.rs Prefer Display over Debug (#16112) 2024-12-27 00:40:06 +00:00
gamepad_input.rs Prefer Display over Debug (#16112) 2024-12-27 00:40:06 +00:00
gamepad_rumble.rs Renamed EventWriter::send methods to write. (#17977) 2025-02-23 21:18:52 +00:00
keyboard_input_events.rs
keyboard_input.rs
keyboard_modifiers.rs
mouse_grab.rs Migrate from Query::single and friends to Single (#15872) 2024-10-13 20:32:06 +00:00
mouse_input_events.rs rename touchpad to gesture, and add new gestures (#13660) 2024-06-04 12:44:25 +00:00
mouse_input.rs Mouse input accumulation (#14044) 2024-07-01 14:27:21 +00:00
text_input.rs Update text_input and virtual_time examples to use Improved Spawning API (#18249) 2025-03-11 05:47:56 +00:00
touch_input_events.rs
touch_input.rs Prefer Display over Debug (#16112) 2024-12-27 00:40:06 +00:00