Skip to content

Commit a8a1884

Browse files
committed
improve doc comment
1 parent 29f54e6 commit a8a1884

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

crates/bevy_scene/src/bundle.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ impl DerefMut for SceneInstance {
3333

3434
/// A component bundle for a [`Scene`] root.
3535
///
36-
/// Once the scene is spawned, the entity will have a [`SceneInstance`] component.
36+
/// The scene from `scene` will be spawn as a child of the entity with this component.
37+
/// Once it's spawned, the entity will have a [`SceneInstance`] component.
3738
#[derive(Default, Bundle)]
3839
pub struct SceneBundle {
3940
/// Handle to the scene to spawn
@@ -64,7 +65,8 @@ pub fn scene_spawner(
6465

6566
/// A component bundle for a [`DynamicScene`] root.
6667
///
67-
/// Once the dynamic scene is spawned, the entity will have a [`SceneInstance`] component.
68+
/// The dynamic scene from `scene` will be spawn as a child of the entity with this component.
69+
/// Once it's spawned, the entity will have a [`SceneInstance`] component.
6870
#[derive(Default, Bundle)]
6971
pub struct DynamicSceneBundle {
7072
/// Handle to the scene to spawn

0 commit comments

Comments
 (0)