2
0
Fork 0
mirror of https://github.com/bevyengine/bevy synced 2024-12-23 03:23:20 +00:00
bevy/examples/games
Carter Anderson f754cecb49
UiImage -> ImageNode, UiImageSize -> ImageNodeSize ()
# Objective

Align `UiImage` with the new `XNode` naming convention.

## Solution

- Rename `UiImage` to `ImageNode`
- Rename `UiImageSize` to `ImageNodeSize`

---

## Migration Guide

Before:
```rust
commands.spawn(UiImage::new(image));
````

After:
```rust
commands.spawn(ImageNode::new(image));
```
2024-11-07 21:52:58 +00:00
..
alien_cake_addict.rs Fix alien_cake_addict example () 2024-11-07 20:46:29 +00:00
breakout.rs Merge Style properties into Node. Use ComputedNode for computed properties. () 2024-10-18 22:25:33 +00:00
contributors.rs Merge Style properties into Node. Use ComputedNode for computed properties. () 2024-10-18 22:25:33 +00:00
desk_toy.rs aligning public apis of Time,Timer and Stopwatch () 2024-10-16 21:09:32 +00:00
game_menu.rs UiImage -> ImageNode, UiImageSize -> ImageNodeSize () 2024-11-07 21:52:58 +00:00
loading_screen.rs Merge Style properties into Node. Use ComputedNode for computed properties. () 2024-10-18 22:25:33 +00:00
stepping.rs Merge Style properties into Node. Use ComputedNode for computed properties. () 2024-10-18 22:25:33 +00:00