Bullet.prefab 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. [
  2. {
  3. "__type__": "cc.Prefab",
  4. "_name": "Bullet",
  5. "_objFlags": 0,
  6. "__editorExtras__": {},
  7. "_native": "",
  8. "data": {
  9. "__id__": 1
  10. },
  11. "optimizationPolicy": 0,
  12. "persistent": false
  13. },
  14. {
  15. "__type__": "cc.Node",
  16. "_name": "Bullet",
  17. "_objFlags": 0,
  18. "__editorExtras__": {},
  19. "_parent": null,
  20. "_children": [],
  21. "_active": true,
  22. "_components": [
  23. {
  24. "__id__": 2
  25. },
  26. {
  27. "__id__": 4
  28. },
  29. {
  30. "__id__": 6
  31. },
  32. {
  33. "__id__": 8
  34. },
  35. {
  36. "__id__": 10
  37. }
  38. ],
  39. "_prefab": {
  40. "__id__": 12
  41. },
  42. "_lpos": {
  43. "__type__": "cc.Vec3",
  44. "x": 0,
  45. "y": 0,
  46. "z": 0
  47. },
  48. "_lrot": {
  49. "__type__": "cc.Quat",
  50. "x": 0,
  51. "y": 0,
  52. "z": 0,
  53. "w": 1
  54. },
  55. "_lscale": {
  56. "__type__": "cc.Vec3",
  57. "x": 1,
  58. "y": 1,
  59. "z": 1
  60. },
  61. "_mobility": 0,
  62. "_layer": 1073741824,
  63. "_euler": {
  64. "__type__": "cc.Vec3",
  65. "x": 0,
  66. "y": 0,
  67. "z": 0
  68. },
  69. "_id": ""
  70. },
  71. {
  72. "__type__": "cc.UITransform",
  73. "_name": "",
  74. "_objFlags": 0,
  75. "__editorExtras__": {},
  76. "node": {
  77. "__id__": 1
  78. },
  79. "_enabled": true,
  80. "__prefab": {
  81. "__id__": 3
  82. },
  83. "_contentSize": {
  84. "__type__": "cc.Size",
  85. "width": 50,
  86. "height": 50
  87. },
  88. "_anchorPoint": {
  89. "__type__": "cc.Vec2",
  90. "x": 0.5,
  91. "y": 0.5
  92. },
  93. "_id": ""
  94. },
  95. {
  96. "__type__": "cc.CompPrefabInfo",
  97. "fileId": "98wnlI7zxDx44BXDGyWai3"
  98. },
  99. {
  100. "__type__": "cc.Sprite",
  101. "_name": "",
  102. "_objFlags": 0,
  103. "__editorExtras__": {},
  104. "node": {
  105. "__id__": 1
  106. },
  107. "_enabled": true,
  108. "__prefab": {
  109. "__id__": 5
  110. },
  111. "_customMaterial": null,
  112. "_srcBlendFactor": 2,
  113. "_dstBlendFactor": 4,
  114. "_color": {
  115. "__type__": "cc.Color",
  116. "r": 255,
  117. "g": 255,
  118. "b": 255,
  119. "a": 255
  120. },
  121. "_spriteFrame": null,
  122. "_type": 0,
  123. "_fillType": 0,
  124. "_sizeMode": 1,
  125. "_fillCenter": {
  126. "__type__": "cc.Vec2",
  127. "x": 0,
  128. "y": 0
  129. },
  130. "_fillStart": 0,
  131. "_fillRange": 0,
  132. "_isTrimmedMode": true,
  133. "_useGrayscale": false,
  134. "_atlas": null,
  135. "_id": ""
  136. },
  137. {
  138. "__type__": "cc.CompPrefabInfo",
  139. "fileId": "4c3aqT1r1IP6Ne1OMYVT9K"
  140. },
  141. {
  142. "__type__": "cc.BoxCollider2D",
  143. "_name": "",
  144. "_objFlags": 0,
  145. "__editorExtras__": {},
  146. "node": {
  147. "__id__": 1
  148. },
  149. "_enabled": true,
  150. "__prefab": {
  151. "__id__": 7
  152. },
  153. "tag": 0,
  154. "_group": 8,
  155. "_density": 1,
  156. "_sensor": true,
  157. "_friction": 0.2,
  158. "_restitution": 0,
  159. "_offset": {
  160. "__type__": "cc.Vec2",
  161. "x": 0,
  162. "y": 0
  163. },
  164. "_size": {
  165. "__type__": "cc.Size",
  166. "width": 10,
  167. "height": 50
  168. },
  169. "_id": ""
  170. },
  171. {
  172. "__type__": "cc.CompPrefabInfo",
  173. "fileId": "6bVHBEPKVFLZ3ALpKJanKV"
  174. },
  175. {
  176. "__type__": "cc.RigidBody2D",
  177. "_name": "",
  178. "_objFlags": 0,
  179. "__editorExtras__": {},
  180. "node": {
  181. "__id__": 1
  182. },
  183. "_enabled": true,
  184. "__prefab": {
  185. "__id__": 9
  186. },
  187. "enabledContactListener": true,
  188. "bullet": false,
  189. "awakeOnLoad": true,
  190. "_group": 8,
  191. "_type": 1,
  192. "_allowSleep": true,
  193. "_gravityScale": 1,
  194. "_linearDamping": 0,
  195. "_angularDamping": 0,
  196. "_linearVelocity": {
  197. "__type__": "cc.Vec2",
  198. "x": 0,
  199. "y": 0
  200. },
  201. "_angularVelocity": 0,
  202. "_fixedRotation": false,
  203. "_id": ""
  204. },
  205. {
  206. "__type__": "cc.CompPrefabInfo",
  207. "fileId": "deREFAXFJDEYAeuHOazVlB"
  208. },
  209. {
  210. "__type__": "1eca2RDQjBNPrbn+5asM1tB",
  211. "_name": "",
  212. "_objFlags": 0,
  213. "__editorExtras__": {},
  214. "node": {
  215. "__id__": 1
  216. },
  217. "_enabled": true,
  218. "__prefab": {
  219. "__id__": 11
  220. },
  221. "_id": ""
  222. },
  223. {
  224. "__type__": "cc.CompPrefabInfo",
  225. "fileId": "36/ABnjL1J9qMb/RkijdWL"
  226. },
  227. {
  228. "__type__": "cc.PrefabInfo",
  229. "root": {
  230. "__id__": 1
  231. },
  232. "asset": {
  233. "__id__": 0
  234. },
  235. "fileId": "2bGMGJ8lxCG6debCI0VfTC",
  236. "instance": null,
  237. "targetOverrides": null
  238. }
  239. ]