parent_child.collection 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. name: "default"
  2. scale_along_z: 0
  3. embedded_instances {
  4. id: "parent"
  5. children: "child"
  6. data: "components {\n"
  7. " id: \"script\"\n"
  8. " component: \"/example/parent.script\"\n"
  9. "}\n"
  10. "embedded_components {\n"
  11. " id: \"sprite\"\n"
  12. " type: \"sprite\"\n"
  13. " data: \"default_animation: \\\"shipGreen_manned\\\"\\n"
  14. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  15. "textures {\\n"
  16. " sampler: \\\"texture_sampler\\\"\\n"
  17. " texture: \\\"/assets/sprites.atlas\\\"\\n"
  18. "}\\n"
  19. "\"\n"
  20. "}\n"
  21. "embedded_components {\n"
  22. " id: \"label\"\n"
  23. " type: \"label\"\n"
  24. " data: \"size {\\n"
  25. " x: 128.0\\n"
  26. " y: 32.0\\n"
  27. "}\\n"
  28. "color {\\n"
  29. " x: 0.0\\n"
  30. " y: 0.5647059\\n"
  31. " z: 0.99215686\\n"
  32. "}\\n"
  33. "outline {\\n"
  34. " x: 1.0\\n"
  35. " y: 1.0\\n"
  36. " z: 1.0\\n"
  37. "}\\n"
  38. "pivot: PIVOT_W\\n"
  39. "text: \\\"Click to detach...\\\"\\n"
  40. "font: \\\"/assets/text48.font\\\"\\n"
  41. "material: \\\"/builtins/fonts/label.material\\\"\\n"
  42. "\"\n"
  43. " position {\n"
  44. " x: 45.95\n"
  45. " y: 94.744\n"
  46. " }\n"
  47. " scale {\n"
  48. " x: 0.5\n"
  49. " y: 0.5\n"
  50. " }\n"
  51. "}\n"
  52. ""
  53. position {
  54. x: 328.917
  55. y: 194.307
  56. }
  57. }
  58. embedded_instances {
  59. id: "child"
  60. data: "components {\n"
  61. " id: \"script\"\n"
  62. " component: \"/example/child.script\"\n"
  63. "}\n"
  64. "embedded_components {\n"
  65. " id: \"sprite\"\n"
  66. " type: \"sprite\"\n"
  67. " data: \"default_animation: \\\"enemyFloating_1\\\"\\n"
  68. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  69. "textures {\\n"
  70. " sampler: \\\"texture_sampler\\\"\\n"
  71. " texture: \\\"/assets/sprites.atlas\\\"\\n"
  72. "}\\n"
  73. "\"\n"
  74. "}\n"
  75. ""
  76. position {
  77. x: -106.034
  78. }
  79. }