testPoint.prefab 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. [
  2. {
  3. "__type__": "cc.Prefab",
  4. "_name": "",
  5. "_objFlags": 0,
  6. "_native": "",
  7. "data": {
  8. "__id__": 1
  9. },
  10. "optimizationPolicy": 0,
  11. "asyncLoadAssets": false,
  12. "readonly": false
  13. },
  14. {
  15. "__type__": "cc.Node",
  16. "_name": "testPoint",
  17. "_objFlags": 0,
  18. "_parent": null,
  19. "_children": [],
  20. "_active": true,
  21. "_components": [
  22. {
  23. "__id__": 2
  24. },
  25. {
  26. "__id__": 3
  27. },
  28. {
  29. "__id__": 4
  30. }
  31. ],
  32. "_prefab": {
  33. "__id__": 5
  34. },
  35. "_opacity": 255,
  36. "_color": {
  37. "__type__": "cc.Color",
  38. "r": 255,
  39. "g": 255,
  40. "b": 255,
  41. "a": 255
  42. },
  43. "_contentSize": {
  44. "__type__": "cc.Size",
  45. "width": 0,
  46. "height": 0
  47. },
  48. "_anchorPoint": {
  49. "__type__": "cc.Vec2",
  50. "x": 0.5,
  51. "y": 0.5
  52. },
  53. "_trs": {
  54. "__type__": "TypedArray",
  55. "ctor": "Float64Array",
  56. "array": [
  57. 0,
  58. 0,
  59. 0,
  60. 0,
  61. 0,
  62. 0,
  63. 1,
  64. 0.75,
  65. 0.75,
  66. 1
  67. ]
  68. },
  69. "_eulerAngles": {
  70. "__type__": "cc.Vec3",
  71. "x": 0,
  72. "y": 0,
  73. "z": 0
  74. },
  75. "_skewX": 0,
  76. "_skewY": 0,
  77. "_is3DNode": false,
  78. "_groupIndex": 0,
  79. "groupIndex": 0,
  80. "_id": ""
  81. },
  82. {
  83. "__type__": "cc.RigidBody",
  84. "_name": "",
  85. "_objFlags": 0,
  86. "node": {
  87. "__id__": 1
  88. },
  89. "_enabled": true,
  90. "_type": 2,
  91. "_allowSleep": true,
  92. "_gravityScale": 0,
  93. "_linearDamping": 0,
  94. "_angularDamping": 0,
  95. "_linearVelocity": {
  96. "__type__": "cc.Vec2",
  97. "x": 0,
  98. "y": 0
  99. },
  100. "_angularVelocity": 0,
  101. "_fixedRotation": false,
  102. "enabledContactListener": true,
  103. "bullet": false,
  104. "awakeOnLoad": true,
  105. "_id": ""
  106. },
  107. {
  108. "__type__": "cc.PhysicsPolygonCollider",
  109. "_name": "",
  110. "_objFlags": 0,
  111. "node": {
  112. "__id__": 1
  113. },
  114. "_enabled": true,
  115. "tag": 0,
  116. "_density": 1,
  117. "_sensor": true,
  118. "_friction": 0.2,
  119. "_restitution": 0,
  120. "body": null,
  121. "_offset": {
  122. "__type__": "cc.Vec2",
  123. "x": 0,
  124. "y": 0
  125. },
  126. "points": [
  127. {
  128. "__type__": "cc.Vec2",
  129. "x": -66.8,
  130. "y": -94.3
  131. },
  132. {
  133. "__type__": "cc.Vec2",
  134. "x": -46.7,
  135. "y": -111.7
  136. },
  137. {
  138. "__type__": "cc.Vec2",
  139. "x": 48.7,
  140. "y": -111.8
  141. },
  142. {
  143. "__type__": "cc.Vec2",
  144. "x": 67.6,
  145. "y": -94.1
  146. },
  147. {
  148. "__type__": "cc.Vec2",
  149. "x": 49.4,
  150. "y": -76.8
  151. },
  152. {
  153. "__type__": "cc.Vec2",
  154. "x": -43.9,
  155. "y": -76.2
  156. }
  157. ],
  158. "_id": ""
  159. },
  160. {
  161. "__type__": "98d22b+T6BOQ6T4Pl6sHEL6",
  162. "_name": "",
  163. "_objFlags": 0,
  164. "node": {
  165. "__id__": 1
  166. },
  167. "_enabled": true,
  168. "_id": ""
  169. },
  170. {
  171. "__type__": "cc.PrefabInfo",
  172. "root": {
  173. "__id__": 1
  174. },
  175. "asset": {
  176. "__uuid__": "81a58fd5-73fd-4d51-90e4-5e1214d06f0d"
  177. },
  178. "fileId": "",
  179. "sync": false
  180. }
  181. ]