bevy/examples/ecs
Alice Cecile 481eec2c92 Rename UiColor to BackgroundColor (#6087)
# Objective

Fixes #6078. The `UiColor` component is unhelpfully named: it is unclear, ambiguous with border color and 

## Solution

Rename the `UiColor` component (and associated fields) to `BackgroundColor` / `background_colorl`.

## Migration Guide

`UiColor` has been renamed to `BackgroundColor`. This change affects `NodeBundle`, `ButtonBundle` and `ImageBundle`. In addition, the corresponding field on `ExtractedUiNode` has been renamed to `background_color` for consistency.
2022-09-25 00:39:17 +00:00
..
component_change_detection.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
custom_query_param.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
ecs_guide.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
event.rs Make Resource trait opt-in, requiring #[derive(Resource)] V2 (#5577) 2022-08-08 21:36:35 +00:00
fixed_timestep.rs Split time functionality into bevy_time (#4187) 2022-05-26 00:27:18 +00:00
generic_system.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
hierarchy.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
iter_combinations.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
parallel_query.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
removal_detection.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
startup_system.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
state.rs Rename UiColor to BackgroundColor (#6087) 2022-09-25 00:39:17 +00:00
system_chaining.rs Make Resource trait opt-in, requiring #[derive(Resource)] V2 (#5577) 2022-08-08 21:36:35 +00:00
system_closure.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
system_param.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
system_sets.rs Remove last uses of string-labels (#5420) 2022-09-03 18:06:41 +00:00
timers.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00