Correct 'Text2dBundle' to 'Text2d' in example comment (#17425)
# Objective Update out of date comment. ## Solution ## Testing N/A
This commit is contained in:
parent
9c5f5b8455
commit
e66aef2d7a
@ -1,6 +1,6 @@
|
||||
//! Shows text rendering with moving, rotating and scaling text.
|
||||
//!
|
||||
//! Note that this uses [`Text2dBundle`] to display text alongside your other entities in a 2D scene.
|
||||
//! Note that this uses [`Text2d`] to display text alongside your other entities in a 2D scene.
|
||||
//!
|
||||
//! For an example on how to render text as part of a user interface, independent from the world
|
||||
//! viewport, you may want to look at `games/contributors.rs` or `ui/text.rs`.
|
||||
|
Loading…
Reference in New Issue
Block a user