World::init_component
docs do not explain that components are generally automatically initialized
#16447
Labels
A-ECS
Entities, components, systems, and events
C-Docs
An addition or correction to our documentation
D-Straightforward
Simple bug fixes and API improvements, docs, test and examples
S-Ready-For-Implementation
This issue is ready for an implementation PR. Go for it!
X-Uncontroversial
This work is generally agreed upon
How can Bevy's documentation be improved?
init_component is used to register components for use. However, when using systems, components are automatically registered when the system is initialized.
This was spotted when reviewing #16434, which suggests that you call this method if
World::try_query
fails.The text was updated successfully, but these errors were encountered: