bevy/crates/bevy_ecs/macros
Mike 07a85676b3
Revert "constrain WorldQuery::init_state argument to ComponentInitial… (#13804)
…izer (#13442)"

This reverts commit 5cfb063d4a.

- This PR broke bevy-trait-query, which needs to be able to write a
resource in init_state. See #13798 for more details.
- Note this doesn't fix everything as transmutes for bevy-trait-query
will still be broken,. But the current usage in that crate is UB, so we
need to find another solution.
2024-06-11 22:54:42 +00:00
..
src Revert "constrain WorldQuery::init_state argument to ComponentInitial… (#13804) 2024-06-11 22:54:42 +00:00
Cargo.toml Computed State & Sub States (#11426) 2024-05-02 19:36:23 +00:00