mirror of
https://github.com/bevyengine/bevy
synced 2024-11-21 20:23:28 +00:00
4dd805a003
# Objective - Add methods to facilitate `TextFont` component creation and insertion. ## Solution - Added `from_font` and `from_font_size` which return a new `TextFont` with said attributes provided as parameters. - Added `with_font` and `with_font_size` which return an existing `TextFont` modifying said attributes with the values provided as parameters. ## Testing - CI Checks. - Tested methods locally by changing values and running the `text_debug` example. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |