Bullet.prefab 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  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": 33554432,
  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": 16,
  86. "height": 14.4
  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": "b4MvZhexVB86idVnNQph5J"
  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": {
  122. "__uuid__": "2eb2499d-dc16-4bd1-bd06-03b8cab882fd@a5f77",
  123. "__expectedType__": "cc.SpriteFrame"
  124. },
  125. "_type": 0,
  126. "_fillType": 0,
  127. "_sizeMode": 0,
  128. "_fillCenter": {
  129. "__type__": "cc.Vec2",
  130. "x": 0,
  131. "y": 0
  132. },
  133. "_fillStart": 0,
  134. "_fillRange": 0,
  135. "_isTrimmedMode": true,
  136. "_useGrayscale": false,
  137. "_atlas": null,
  138. "_id": ""
  139. },
  140. {
  141. "__type__": "cc.CompPrefabInfo",
  142. "fileId": "84JmcptrlMC7mkLHjnNI7H"
  143. },
  144. {
  145. "__type__": "cc.BoxCollider2D",
  146. "_name": "",
  147. "_objFlags": 0,
  148. "__editorExtras__": {},
  149. "node": {
  150. "__id__": 1
  151. },
  152. "_enabled": true,
  153. "__prefab": {
  154. "__id__": 7
  155. },
  156. "tag": 0,
  157. "_group": 8,
  158. "_density": 1,
  159. "_sensor": true,
  160. "_friction": 0.2,
  161. "_restitution": 0,
  162. "_offset": {
  163. "__type__": "cc.Vec2",
  164. "x": 0,
  165. "y": 0
  166. },
  167. "_size": {
  168. "__type__": "cc.Size",
  169. "width": 8,
  170. "height": 7.2
  171. },
  172. "_id": ""
  173. },
  174. {
  175. "__type__": "cc.CompPrefabInfo",
  176. "fileId": "bdtR5s8R1ENZzzrBwTQ3PC"
  177. },
  178. {
  179. "__type__": "cc.RigidBody2D",
  180. "_name": "",
  181. "_objFlags": 0,
  182. "__editorExtras__": {},
  183. "node": {
  184. "__id__": 1
  185. },
  186. "_enabled": true,
  187. "__prefab": {
  188. "__id__": 9
  189. },
  190. "enabledContactListener": true,
  191. "bullet": false,
  192. "awakeOnLoad": true,
  193. "_group": 8,
  194. "_type": 1,
  195. "_allowSleep": true,
  196. "_gravityScale": 1,
  197. "_linearDamping": 0,
  198. "_angularDamping": 0,
  199. "_linearVelocity": {
  200. "__type__": "cc.Vec2",
  201. "x": 0,
  202. "y": 0
  203. },
  204. "_angularVelocity": 0,
  205. "_fixedRotation": false,
  206. "_id": ""
  207. },
  208. {
  209. "__type__": "cc.CompPrefabInfo",
  210. "fileId": "62Buviwb9HQZoy8ISfZXSu"
  211. },
  212. {
  213. "__type__": "1eca2RDQjBNPrbn+5asM1tB",
  214. "_name": "",
  215. "_objFlags": 0,
  216. "__editorExtras__": {},
  217. "node": {
  218. "__id__": 1
  219. },
  220. "_enabled": true,
  221. "__prefab": {
  222. "__id__": 11
  223. },
  224. "_id": ""
  225. },
  226. {
  227. "__type__": "cc.CompPrefabInfo",
  228. "fileId": "dcsNCLAgtGOK7GChwCbgnu"
  229. },
  230. {
  231. "__type__": "cc.PrefabInfo",
  232. "root": {
  233. "__id__": 1
  234. },
  235. "asset": {
  236. "__id__": 0
  237. },
  238. "fileId": "b4feRkHbZGGZEazipgHNJ5",
  239. "instance": null,
  240. "targetOverrides": null
  241. }
  242. ]