WeaponBlock.prefab 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581
  1. [
  2. {
  3. "__type__": "cc.Prefab",
  4. "_name": "WeaponBlock",
  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": "WeaponBlock",
  17. "_objFlags": 0,
  18. "__editorExtras__": {},
  19. "_parent": null,
  20. "_children": [
  21. {
  22. "__id__": 2
  23. }
  24. ],
  25. "_active": true,
  26. "_components": [
  27. {
  28. "__id__": 16
  29. },
  30. {
  31. "__id__": 18
  32. },
  33. {
  34. "__id__": 20
  35. },
  36. {
  37. "__id__": 22
  38. }
  39. ],
  40. "_prefab": {
  41. "__id__": 24
  42. },
  43. "_lpos": {
  44. "__type__": "cc.Vec3",
  45. "x": 0,
  46. "y": -6.766,
  47. "z": 0
  48. },
  49. "_lrot": {
  50. "__type__": "cc.Quat",
  51. "x": 0,
  52. "y": 0,
  53. "z": 0,
  54. "w": 1
  55. },
  56. "_lscale": {
  57. "__type__": "cc.Vec3",
  58. "x": 1,
  59. "y": 1,
  60. "z": 1
  61. },
  62. "_mobility": 0,
  63. "_layer": 33554432,
  64. "_euler": {
  65. "__type__": "cc.Vec3",
  66. "x": 0,
  67. "y": 0,
  68. "z": 0
  69. },
  70. "_id": ""
  71. },
  72. {
  73. "__type__": "cc.Node",
  74. "_name": "B1",
  75. "_objFlags": 0,
  76. "__editorExtras__": {},
  77. "_parent": {
  78. "__id__": 1
  79. },
  80. "_children": [
  81. {
  82. "__id__": 3
  83. },
  84. {
  85. "__id__": 7
  86. }
  87. ],
  88. "_active": true,
  89. "_components": [
  90. {
  91. "__id__": 13
  92. }
  93. ],
  94. "_prefab": {
  95. "__id__": 15
  96. },
  97. "_lpos": {
  98. "__type__": "cc.Vec3",
  99. "x": 0,
  100. "y": 27.912,
  101. "z": 0
  102. },
  103. "_lrot": {
  104. "__type__": "cc.Quat",
  105. "x": 0,
  106. "y": 0,
  107. "z": 0,
  108. "w": 1
  109. },
  110. "_lscale": {
  111. "__type__": "cc.Vec3",
  112. "x": 1,
  113. "y": 1,
  114. "z": 1
  115. },
  116. "_mobility": 0,
  117. "_layer": 33554432,
  118. "_euler": {
  119. "__type__": "cc.Vec3",
  120. "x": 0,
  121. "y": 0,
  122. "z": 0
  123. },
  124. "_id": ""
  125. },
  126. {
  127. "__type__": "cc.Node",
  128. "_name": "(0,-1)",
  129. "_objFlags": 0,
  130. "__editorExtras__": {},
  131. "_parent": {
  132. "__id__": 2
  133. },
  134. "_children": [],
  135. "_active": true,
  136. "_components": [
  137. {
  138. "__id__": 4
  139. }
  140. ],
  141. "_prefab": {
  142. "__id__": 6
  143. },
  144. "_lpos": {
  145. "__type__": "cc.Vec3",
  146. "x": 0,
  147. "y": -58.18700000000001,
  148. "z": 0
  149. },
  150. "_lrot": {
  151. "__type__": "cc.Quat",
  152. "x": 0,
  153. "y": 0,
  154. "z": 0,
  155. "w": 1
  156. },
  157. "_lscale": {
  158. "__type__": "cc.Vec3",
  159. "x": 1,
  160. "y": 1,
  161. "z": 1
  162. },
  163. "_mobility": 0,
  164. "_layer": 33554432,
  165. "_euler": {
  166. "__type__": "cc.Vec3",
  167. "x": 0,
  168. "y": 0,
  169. "z": 0
  170. },
  171. "_id": ""
  172. },
  173. {
  174. "__type__": "cc.UITransform",
  175. "_name": "",
  176. "_objFlags": 0,
  177. "__editorExtras__": {},
  178. "node": {
  179. "__id__": 3
  180. },
  181. "_enabled": true,
  182. "__prefab": {
  183. "__id__": 5
  184. },
  185. "_contentSize": {
  186. "__type__": "cc.Size",
  187. "width": 48,
  188. "height": 48
  189. },
  190. "_anchorPoint": {
  191. "__type__": "cc.Vec2",
  192. "x": 0.5,
  193. "y": 0.5
  194. },
  195. "_id": ""
  196. },
  197. {
  198. "__type__": "cc.CompPrefabInfo",
  199. "fileId": "4dSMlZahVBhrcqZ2ROix38"
  200. },
  201. {
  202. "__type__": "cc.PrefabInfo",
  203. "root": {
  204. "__id__": 1
  205. },
  206. "asset": {
  207. "__id__": 0
  208. },
  209. "fileId": "42mxrhs0pLRbM+S3cu+N+T",
  210. "instance": null,
  211. "targetOverrides": null,
  212. "nestedPrefabInstanceRoots": null
  213. },
  214. {
  215. "__type__": "cc.Node",
  216. "_name": "Weapon",
  217. "_objFlags": 0,
  218. "__editorExtras__": {},
  219. "_parent": {
  220. "__id__": 2
  221. },
  222. "_children": [],
  223. "_active": true,
  224. "_components": [
  225. {
  226. "__id__": 8
  227. },
  228. {
  229. "__id__": 10
  230. }
  231. ],
  232. "_prefab": {
  233. "__id__": 12
  234. },
  235. "_lpos": {
  236. "__type__": "cc.Vec3",
  237. "x": -0.15300000000002,
  238. "y": -31.72199999999998,
  239. "z": 0
  240. },
  241. "_lrot": {
  242. "__type__": "cc.Quat",
  243. "x": 0,
  244. "y": 0,
  245. "z": 0,
  246. "w": 1
  247. },
  248. "_lscale": {
  249. "__type__": "cc.Vec3",
  250. "x": 0.5,
  251. "y": 0.5,
  252. "z": 1
  253. },
  254. "_mobility": 0,
  255. "_layer": 33554432,
  256. "_euler": {
  257. "__type__": "cc.Vec3",
  258. "x": 0,
  259. "y": 0,
  260. "z": 0
  261. },
  262. "_id": ""
  263. },
  264. {
  265. "__type__": "cc.UITransform",
  266. "_name": "",
  267. "_objFlags": 0,
  268. "__editorExtras__": {},
  269. "node": {
  270. "__id__": 7
  271. },
  272. "_enabled": true,
  273. "__prefab": {
  274. "__id__": 9
  275. },
  276. "_contentSize": {
  277. "__type__": "cc.Size",
  278. "width": 69,
  279. "height": 118
  280. },
  281. "_anchorPoint": {
  282. "__type__": "cc.Vec2",
  283. "x": 0.5,
  284. "y": 0.5
  285. },
  286. "_id": ""
  287. },
  288. {
  289. "__type__": "cc.CompPrefabInfo",
  290. "fileId": "a3IgBCthdAMY/kVfrVwrwt"
  291. },
  292. {
  293. "__type__": "cc.Sprite",
  294. "_name": "",
  295. "_objFlags": 0,
  296. "__editorExtras__": {},
  297. "node": {
  298. "__id__": 7
  299. },
  300. "_enabled": true,
  301. "__prefab": {
  302. "__id__": 11
  303. },
  304. "_customMaterial": null,
  305. "_srcBlendFactor": 2,
  306. "_dstBlendFactor": 4,
  307. "_color": {
  308. "__type__": "cc.Color",
  309. "r": 255,
  310. "g": 255,
  311. "b": 255,
  312. "a": 255
  313. },
  314. "_spriteFrame": {
  315. "__uuid__": "7efa8afb-730c-43f8-9d0a-5cbf71082a54@f9941",
  316. "__expectedType__": "cc.SpriteFrame"
  317. },
  318. "_type": 0,
  319. "_fillType": 0,
  320. "_sizeMode": 1,
  321. "_fillCenter": {
  322. "__type__": "cc.Vec2",
  323. "x": 0,
  324. "y": 0
  325. },
  326. "_fillStart": 0,
  327. "_fillRange": 0,
  328. "_isTrimmedMode": true,
  329. "_useGrayscale": false,
  330. "_atlas": null,
  331. "_id": ""
  332. },
  333. {
  334. "__type__": "cc.CompPrefabInfo",
  335. "fileId": "8cVih+ArJFb5TbjLHK7rfX"
  336. },
  337. {
  338. "__type__": "cc.PrefabInfo",
  339. "root": {
  340. "__id__": 1
  341. },
  342. "asset": {
  343. "__id__": 0
  344. },
  345. "fileId": "a1dnHq16ZOQpQqmkZ1gqhV",
  346. "instance": null,
  347. "targetOverrides": null,
  348. "nestedPrefabInstanceRoots": null
  349. },
  350. {
  351. "__type__": "cc.UITransform",
  352. "_name": "",
  353. "_objFlags": 0,
  354. "__editorExtras__": {},
  355. "node": {
  356. "__id__": 2
  357. },
  358. "_enabled": true,
  359. "__prefab": {
  360. "__id__": 14
  361. },
  362. "_contentSize": {
  363. "__type__": "cc.Size",
  364. "width": 48,
  365. "height": 48
  366. },
  367. "_anchorPoint": {
  368. "__type__": "cc.Vec2",
  369. "x": 0.5,
  370. "y": 0.5
  371. },
  372. "_id": ""
  373. },
  374. {
  375. "__type__": "cc.CompPrefabInfo",
  376. "fileId": "cftPjiq2REVK8UlOhstbyx"
  377. },
  378. {
  379. "__type__": "cc.PrefabInfo",
  380. "root": {
  381. "__id__": 1
  382. },
  383. "asset": {
  384. "__id__": 0
  385. },
  386. "fileId": "baMKTeOjFH54UCx2rLWtK1",
  387. "instance": null,
  388. "targetOverrides": null,
  389. "nestedPrefabInstanceRoots": null
  390. },
  391. {
  392. "__type__": "cc.UITransform",
  393. "_name": "",
  394. "_objFlags": 0,
  395. "__editorExtras__": {},
  396. "node": {
  397. "__id__": 1
  398. },
  399. "_enabled": true,
  400. "__prefab": {
  401. "__id__": 17
  402. },
  403. "_contentSize": {
  404. "__type__": "cc.Size",
  405. "width": 52,
  406. "height": 104
  407. },
  408. "_anchorPoint": {
  409. "__type__": "cc.Vec2",
  410. "x": 0.5,
  411. "y": 0.5
  412. },
  413. "_id": ""
  414. },
  415. {
  416. "__type__": "cc.CompPrefabInfo",
  417. "fileId": "5fkTSH67BMPbz3A0MS4GUP"
  418. },
  419. {
  420. "__type__": "cc.Sprite",
  421. "_name": "",
  422. "_objFlags": 0,
  423. "__editorExtras__": {},
  424. "node": {
  425. "__id__": 1
  426. },
  427. "_enabled": true,
  428. "__prefab": {
  429. "__id__": 19
  430. },
  431. "_customMaterial": null,
  432. "_srcBlendFactor": 2,
  433. "_dstBlendFactor": 4,
  434. "_color": {
  435. "__type__": "cc.Color",
  436. "r": 255,
  437. "g": 255,
  438. "b": 255,
  439. "a": 255
  440. },
  441. "_spriteFrame": {
  442. "__uuid__": "7c566ffd-17e6-4932-ad91-4eabe6503c16@f9941",
  443. "__expectedType__": "cc.SpriteFrame"
  444. },
  445. "_type": 0,
  446. "_fillType": 0,
  447. "_sizeMode": 0,
  448. "_fillCenter": {
  449. "__type__": "cc.Vec2",
  450. "x": 0,
  451. "y": 0
  452. },
  453. "_fillStart": 0,
  454. "_fillRange": 0,
  455. "_isTrimmedMode": true,
  456. "_useGrayscale": false,
  457. "_atlas": null,
  458. "_id": ""
  459. },
  460. {
  461. "__type__": "cc.CompPrefabInfo",
  462. "fileId": "24yeuTcLpMw4xJySGZd5jK"
  463. },
  464. {
  465. "__type__": "cc.PolygonCollider2D",
  466. "_name": "",
  467. "_objFlags": 0,
  468. "__editorExtras__": {},
  469. "node": {
  470. "__id__": 1
  471. },
  472. "_enabled": true,
  473. "__prefab": {
  474. "__id__": 21
  475. },
  476. "tag": 2,
  477. "_group": 4,
  478. "_density": 1,
  479. "_sensor": false,
  480. "_friction": 0.2,
  481. "_restitution": 1,
  482. "_offset": {
  483. "__type__": "cc.Vec2",
  484. "x": 0,
  485. "y": 0
  486. },
  487. "_points": [
  488. {
  489. "__type__": "cc.Vec2",
  490. "x": -19,
  491. "y": 52
  492. },
  493. {
  494. "__type__": "cc.Vec2",
  495. "x": -26,
  496. "y": 45
  497. },
  498. {
  499. "__type__": "cc.Vec2",
  500. "x": -26,
  501. "y": -45
  502. },
  503. {
  504. "__type__": "cc.Vec2",
  505. "x": -19,
  506. "y": -52
  507. },
  508. {
  509. "__type__": "cc.Vec2",
  510. "x": 19,
  511. "y": -52
  512. },
  513. {
  514. "__type__": "cc.Vec2",
  515. "x": 26,
  516. "y": -45
  517. },
  518. {
  519. "__type__": "cc.Vec2",
  520. "x": 26,
  521. "y": 45
  522. },
  523. {
  524. "__type__": "cc.Vec2",
  525. "x": 19,
  526. "y": 52
  527. }
  528. ],
  529. "_id": ""
  530. },
  531. {
  532. "__type__": "cc.CompPrefabInfo",
  533. "fileId": "6cijxE1kJCRb8YwnU6o0Xq"
  534. },
  535. {
  536. "__type__": "cc.RigidBody2D",
  537. "_name": "",
  538. "_objFlags": 0,
  539. "__editorExtras__": {},
  540. "node": {
  541. "__id__": 1
  542. },
  543. "_enabled": true,
  544. "__prefab": {
  545. "__id__": 23
  546. },
  547. "enabledContactListener": true,
  548. "bullet": false,
  549. "awakeOnLoad": true,
  550. "_group": 4,
  551. "_type": 1,
  552. "_allowSleep": true,
  553. "_gravityScale": 0,
  554. "_linearDamping": 0,
  555. "_angularDamping": 0,
  556. "_linearVelocity": {
  557. "__type__": "cc.Vec2",
  558. "x": 0,
  559. "y": 0
  560. },
  561. "_angularVelocity": 0,
  562. "_fixedRotation": false,
  563. "_id": ""
  564. },
  565. {
  566. "__type__": "cc.CompPrefabInfo",
  567. "fileId": "992/Rw09lBQIO6kfz8uFhm"
  568. },
  569. {
  570. "__type__": "cc.PrefabInfo",
  571. "root": {
  572. "__id__": 1
  573. },
  574. "asset": {
  575. "__id__": 0
  576. },
  577. "fileId": "2fgmWEQyhIGr02gKDR/YNr",
  578. "instance": null,
  579. "targetOverrides": null
  580. }
  581. ]