bevy/assets/scenes/load_scene_example.scn.ron
Alex Okafor 5a4a2882c7
Fix load scene example to use proper serialization format for rotation field (#10638)
# Objective

Fixes #10479

## Solution

- Updated scene file
2023-11-21 01:14:50 +00:00

46 lines
781 B
Text

(
resources: {
"scene::ResourceA": (
score: 2,
),
},
entities: {
0: (
components: {
"bevy_transform::components::transform::Transform": (
translation: (
x: 0.0,
y: 0.0,
z: 0.0
),
rotation: (
x: 0.0,
y: 0.0,
z: 0.0,
w: 1.0,
),
scale: (
x: 1.0,
y: 1.0,
z: 1.0
),
),
"scene::ComponentB": (
value: "hello",
),
"scene::ComponentA": (
x: 1.0,
y: 2.0,
),
},
),
1: (
components: {
"scene::ComponentA": (
x: 3.0,
y: 4.0,
),
},
),
}
)