bevy/crates/bevy_ecs/src
2ne1ugly 16ff05acdf Add World::clear_resources & World::clear_all (#3212)
# Objective

- Fixes #3158

## Solution

- clear columns

My implementation of `clear_resources` do not remove the components itself but it clears the columns that keeps the resource data. I'm not sure if the issue meant to clear all resources, even the components and component ids (which I'm not sure if it's possible)

Co-authored-by: 2ne1ugly <47616772+2ne1ugly@users.noreply.github.com>
2023-01-17 04:20:42 +00:00
..
entity Make EntityRef::new unsafe (#7222) 2023-01-16 22:10:51 +00:00
query Added Ref to allow immutable access with change detection (#7097) 2023-01-11 15:41:54 +00:00
schedule Fix beta clippy lints (#7154) 2023-01-11 09:51:22 +00:00
schedule_v3 Add bevy_ecs::schedule_v3 module (#6587) 2023-01-17 01:39:17 +00:00
storage Add World::clear_resources & World::clear_all (#3212) 2023-01-17 04:20:42 +00:00
system Add a missing impl of ReadOnlySystemParam for Option<NonSend<>> (#7245) 2023-01-17 03:29:08 +00:00
world Add World::clear_resources & World::clear_all (#3212) 2023-01-17 04:20:42 +00:00
archetype.rs Mark TableRow and TableId as repr(transparent) (#7166) 2023-01-11 23:31:22 +00:00
bundle.rs Fix beta clippy lints (#7154) 2023-01-11 09:51:22 +00:00
change_detection.rs Add a method for converting MutUntyped -> Mut<T> (#7113) 2023-01-11 17:47:54 +00:00
component.rs Document options for !Sync types for Component and Resources (#6864) 2022-12-11 18:34:13 +00:00
event.rs Rework manual event iterator so we can actually name the type (#5735) 2022-12-25 00:39:27 +00:00
lib.rs Add bevy_ecs::schedule_v3 module (#6587) 2023-01-17 01:39:17 +00:00
reflect.rs Enable Constructing ReflectComponent/Resource (#6257) 2022-10-17 14:01:50 +00:00