Trait amethyst::prelude::WithNamed [−]
An easy way to name an Entity
and give it a Named
Component
.
Required methods
pub fn named<S>(self, name: S) -> Self where
S: Into<Cow<'static, str>>,
S: Into<Cow<'static, str>>,
Adds a name to the entity being built.