Fixing blueprint example issue #247

Fixing blueprint example issue #247
This commit is contained in:
kEpEx 2024-09-29 14:13:05 -07:00 committed by GitHub
parent d5f14bc037
commit b27a2e04ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,7 +25,7 @@ fn main() {
fn setup_game(mut commands: Commands) {
// here we spawn our game world/level, which is also a blueprint !
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
HideUntilReady, // only reveal the level once it is ready
GameWorldTag,