diff --git a/Cargo.toml b/Cargo.toml index 9e8551ffc3..6187902004 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -259,8 +259,8 @@ name = "ecs_guide" path = "examples/ecs/ecs_guide.rs" [[example]] -name = "change_detection" -path = "examples/ecs/change_detection.rs" +name = "component_change_detection" +path = "examples/ecs/component_change_detection.rs" [[example]] name = "event" diff --git a/examples/README.md b/examples/README.md index e3b8878c13..37b76a3a34 100644 --- a/examples/README.md +++ b/examples/README.md @@ -156,7 +156,7 @@ Example | File | Description Example | File | Description --- | --- | --- `ecs_guide` | [`ecs/ecs_guide.rs`](./ecs/ecs_guide.rs) | Full guide to Bevy's ECS -`change_detection` | [`ecs/change_detection.rs`](./ecs/change_detection.rs) | Change detection on components +`component_change_detection` | [`ecs/component_change_detection.rs`](./ecs/component_change_detection.rs) | Change detection on components `event` | [`ecs/event.rs`](./ecs/event.rs) | Illustrates event creation, activation, and reception `fixed_timestep` | [`ecs/fixed_timestep.rs`](./ecs/fixed_timestep.rs) | Shows how to create systems that run every fixed timestep, rather than every tick `hierarchy` | [`ecs/hierarchy.rs`](./ecs/hierarchy.rs) | Creates a hierarchy of parents and children entities diff --git a/examples/ecs/change_detection.rs b/examples/ecs/component_change_detection.rs similarity index 100% rename from examples/ecs/change_detection.rs rename to examples/ecs/component_change_detection.rs