Skip to content

Commit aa1f1aa

Browse files
committed
Fix scene example
1 parent 5110f43 commit aa1f1aa

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

assets/scenes/load_scene_example.scn.ron

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,27 @@
33
entity: 0,
44
components: [
55
{
6-
"type": "bevy_transform::components::transform::Transform",
7-
"value": {
8-
"translation": (0.0, 0.0, 0.0),
6+
"bevy_transform::components::transform::Transform": {
7+
"translation": {
8+
"x": 0.0,
9+
"y": 0.0,
10+
"z": 0.0
11+
},
912
"rotation": (0.0, 0.0, 0.0, 1.0),
10-
"scale": (1.0, 1.0, 1.0),
13+
"scale": {
14+
"x": 1.0,
15+
"y": 1.0,
16+
"z": 1.0
17+
},
1118
},
1219
},
1320
{
14-
"type": "scene::ComponentB",
15-
"value": {
21+
"scene::ComponentB": {
1622
"value": "hello",
1723
},
1824
},
1925
{
20-
"type": "scene::ComponentA",
21-
"value": {
26+
"scene::ComponentA": {
2227
"x": 1.0,
2328
"y": 2.0,
2429
},
@@ -29,8 +34,7 @@
2934
entity: 1,
3035
components: [
3136
{
32-
"type": "scene::ComponentA",
33-
"value": {
37+
"scene::ComponentA": {
3438
"x": 3.0,
3539
"y": 4.0,
3640
},

0 commit comments

Comments
 (0)