mirror of
https://github.com/kaosat-dev/Blender_bevy_components_workflow.git
synced 2024-11-23 12:20:53 +00:00
Fixing blueprint example issue #247
Fixing blueprint example issue #247
This commit is contained in:
parent
d5f14bc037
commit
b27a2e04ef
@ -25,7 +25,7 @@ fn main() {
|
|||||||
fn setup_game(mut commands: Commands) {
|
fn setup_game(mut commands: Commands) {
|
||||||
// here we spawn our game world/level, which is also a blueprint !
|
// here we spawn our game world/level, which is also a blueprint !
|
||||||
commands.spawn((
|
commands.spawn((
|
||||||
BlueprintInfo::from_path("levels/World.glb"), // all we need is a Blueprint info...
|
BlueprintInfo::from_path("levels/Level1.glb"), // all we need is a Blueprint info...
|
||||||
SpawnBlueprint, // and spawnblueprint to tell blenvy to spawn the blueprint now
|
SpawnBlueprint, // and spawnblueprint to tell blenvy to spawn the blueprint now
|
||||||
HideUntilReady, // only reveal the level once it is ready
|
HideUntilReady, // only reveal the level once it is ready
|
||||||
GameWorldTag,
|
GameWorldTag,
|
||||||
|
Loading…
Reference in New Issue
Block a user