Tracking: Take advantage of ComponentId
's being discoverable before registration
#18184
Open
2 of 5 tasks
Labels
A-ECS
Entities, components, systems, and events
C-Feature
A new feature, making something new possible
C-Tracking-Issue
An issue that collects information about a broad development initiative
Uh oh!
There was an error while loading. Please reload this page.
What problem does this solve or what need does it fill?
Lots of planned and wishlist features require (or would benefit from) knowing a component or resource's
ComponentId
before it is registered. Effectively, we can reserve an id with only&Components
and know that the id will be the same id it receives when registered. Further, we can also queue a registration to happen with only&Components
, which provides additional flexibility.This is very useful for assets as entities (#11266), multi-world bevy, readonly queries and other readonly system parameters, pre-registering components, scripting, (and probably more).
History
This is a better alternative for #18155.
Roadmap
&World
. #18276&World
.try_query
API (no longer needed).After #18173, parallel work may begin on components as entities and assets as entities.
The text was updated successfully, but these errors were encountered: