Open alice-i-cecile opened 5 days ago
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 https://github.com/bevyengine/bevy/pull/16434, which suggests that you call this method if World::try_query fails.
World::try_query
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 https://github.com/bevyengine/bevy/pull/16434, which suggests that you call this method if
World::try_query
fails.