Mention DynamicSceneBuilder in doc comment (#10780)
# Objective Resolves #10773 ## Solution Added comment mentioning DynamicSceneBuilder
This commit is contained in:
parent
fd308571c4
commit
3ec1b5c323
@ -24,6 +24,7 @@ use serde::Serialize;
|
|||||||
/// * adding the [`Handle<DynamicScene>`](bevy_asset::Handle) to an entity (the scene will only be
|
/// * adding the [`Handle<DynamicScene>`](bevy_asset::Handle) to an entity (the scene will only be
|
||||||
/// visible if the entity already has [`Transform`](bevy_transform::components::Transform) and
|
/// visible if the entity already has [`Transform`](bevy_transform::components::Transform) and
|
||||||
/// [`GlobalTransform`](bevy_transform::components::GlobalTransform) components)
|
/// [`GlobalTransform`](bevy_transform::components::GlobalTransform) components)
|
||||||
|
/// * using the [`DynamicSceneBuilder`] to construct a `DynamicScene` from `World`.
|
||||||
#[derive(Asset, TypePath, Default)]
|
#[derive(Asset, TypePath, Default)]
|
||||||
pub struct DynamicScene {
|
pub struct DynamicScene {
|
||||||
/// Resources stored in the dynamic scene.
|
/// Resources stored in the dynamic scene.
|
||||||
|
Loading…
Reference in New Issue
Block a user