Skip to content

Commit

Permalink
Updated example scene file
Browse files Browse the repository at this point in the history
  • Loading branch information
MrGVSV committed Apr 22, 2022
1 parent a4217e6 commit 81c6d50
Showing 1 changed file with 12 additions and 36 deletions.
48 changes: 12 additions & 36 deletions assets/scenes/load_scene_example.scn.ron
Original file line number Diff line number Diff line change
Expand Up @@ -4,41 +4,23 @@
components: [
{
"type": "bevy_transform::components::transform::Transform",
"struct": {
"translation": {
"type": "glam::vec3::Vec3",
"value": (0.0, 0.0, 0.0),
},
"rotation": {
"type": "glam::quat::Quat",
"value": (0.0, 0.0, 0.0, 1.0),
},
"scale": {
"type": "glam::vec3::Vec3",
"value": (1.0, 1.0, 1.0),
},
"value": {
"translation": (0.0, 0.0, 0.0),
"rotation": (0.0, 0.0, 0.0, 1.0),
"scale": (1.0, 1.0, 1.0),
},
},
{
"type": "scene::ComponentB",
"struct": {
"value": {
"type": "alloc::string::String",
"value": "hello",
},
"value": {
"value": "hello",
},
},
{
"type": "scene::ComponentA",
"struct": {
"x": {
"type": "f32",
"value": 1.0,
},
"y": {
"type": "f32",
"value": 2.0,
},
"value": {
"x": 1.0,
"y": 2.0,
},
},
],
Expand All @@ -48,15 +30,9 @@
components: [
{
"type": "scene::ComponentA",
"struct": {
"x": {
"type": "f32",
"value": 3.0,
},
"y": {
"type": "f32",
"value": 4.0,
},
"value": {
"x": 3.0,
"y": 4.0,
},
},
],
Expand Down

0 comments on commit 81c6d50

Please sign in to comment.