Crate moonshine_spawn
source ·Modules
Macros
- A convenient macro for defining static
SpawnKeys.
Structs
- A
Componentwhich stores a list of spawnables to spawn as children of its entity. - A unique string-based identifier used to spawn a spawnable registered with
Spawnables. - A
Resourcewhich contains all registered spawnables.
Traits
- Trait used to register a spawnable with an
App. - Represents a type which spawns an
Entity. - Represents a type which spawns an
Entityexactly once.
Functions
- An ergonomic function used to create a
SpawnChildrencomponent. - A function for defining a new static
SpawnKey.