wall.prefab 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443
  1. [
  2. {
  3. "__type__": "cc.Prefab",
  4. "_name": "wall",
  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": "wall",
  17. "_objFlags": 0,
  18. "__editorExtras__": {},
  19. "_parent": null,
  20. "_children": [
  21. {
  22. "__id__": 2
  23. }
  24. ],
  25. "_active": true,
  26. "_components": [
  27. {
  28. "__id__": 12
  29. },
  30. {
  31. "__id__": 14
  32. },
  33. {
  34. "__id__": 16
  35. },
  36. {
  37. "__id__": 18
  38. },
  39. {
  40. "__id__": 20
  41. }
  42. ],
  43. "_prefab": {
  44. "__id__": 22
  45. },
  46. "_lpos": {
  47. "__type__": "cc.Vec3",
  48. "x": 0,
  49. "y": 0,
  50. "z": 0
  51. },
  52. "_lrot": {
  53. "__type__": "cc.Quat",
  54. "x": 0,
  55. "y": 0,
  56. "z": 0,
  57. "w": 1
  58. },
  59. "_lscale": {
  60. "__type__": "cc.Vec3",
  61. "x": 1,
  62. "y": 1,
  63. "z": 1
  64. },
  65. "_mobility": 0,
  66. "_layer": 33554432,
  67. "_euler": {
  68. "__type__": "cc.Vec3",
  69. "x": 0,
  70. "y": 0,
  71. "z": 0
  72. },
  73. "_id": ""
  74. },
  75. {
  76. "__type__": "cc.Node",
  77. "_name": "Node",
  78. "_objFlags": 0,
  79. "__editorExtras__": {},
  80. "_parent": {
  81. "__id__": 1
  82. },
  83. "_children": [],
  84. "_active": true,
  85. "_components": [
  86. {
  87. "__id__": 3
  88. },
  89. {
  90. "__id__": 5
  91. },
  92. {
  93. "__id__": 7
  94. },
  95. {
  96. "__id__": 9
  97. }
  98. ],
  99. "_prefab": {
  100. "__id__": 11
  101. },
  102. "_lpos": {
  103. "__type__": "cc.Vec3",
  104. "x": 0,
  105. "y": -139.5,
  106. "z": 0
  107. },
  108. "_lrot": {
  109. "__type__": "cc.Quat",
  110. "x": 0,
  111. "y": 0,
  112. "z": 0,
  113. "w": 1
  114. },
  115. "_lscale": {
  116. "__type__": "cc.Vec3",
  117. "x": 1,
  118. "y": 1,
  119. "z": 1
  120. },
  121. "_mobility": 0,
  122. "_layer": 33554432,
  123. "_euler": {
  124. "__type__": "cc.Vec3",
  125. "x": 0,
  126. "y": 0,
  127. "z": 0
  128. },
  129. "_id": ""
  130. },
  131. {
  132. "__type__": "cc.UITransform",
  133. "_name": "",
  134. "_objFlags": 0,
  135. "__editorExtras__": {},
  136. "node": {
  137. "__id__": 2
  138. },
  139. "_enabled": true,
  140. "__prefab": {
  141. "__id__": 4
  142. },
  143. "_contentSize": {
  144. "__type__": "cc.Size",
  145. "width": 100,
  146. "height": 100
  147. },
  148. "_anchorPoint": {
  149. "__type__": "cc.Vec2",
  150. "x": 0.5,
  151. "y": 0.5
  152. },
  153. "_id": ""
  154. },
  155. {
  156. "__type__": "cc.CompPrefabInfo",
  157. "fileId": "31GTcMEpJGCLy3fVh98bdN"
  158. },
  159. {
  160. "__type__": "cc.Widget",
  161. "_name": "",
  162. "_objFlags": 0,
  163. "__editorExtras__": {},
  164. "node": {
  165. "__id__": 2
  166. },
  167. "_enabled": true,
  168. "__prefab": {
  169. "__id__": 6
  170. },
  171. "_alignFlags": 4,
  172. "_target": null,
  173. "_left": 0,
  174. "_right": 0,
  175. "_top": 0,
  176. "_bottom": -50,
  177. "_horizontalCenter": 0,
  178. "_verticalCenter": 0,
  179. "_isAbsLeft": true,
  180. "_isAbsRight": true,
  181. "_isAbsTop": true,
  182. "_isAbsBottom": true,
  183. "_isAbsHorizontalCenter": true,
  184. "_isAbsVerticalCenter": true,
  185. "_originalWidth": 0,
  186. "_originalHeight": 0,
  187. "_alignMode": 2,
  188. "_lockFlags": 0,
  189. "_id": ""
  190. },
  191. {
  192. "__type__": "cc.CompPrefabInfo",
  193. "fileId": "75tv8dH7xLBZP5JieyMseS"
  194. },
  195. {
  196. "__type__": "cc.RigidBody2D",
  197. "_name": "",
  198. "_objFlags": 0,
  199. "__editorExtras__": {},
  200. "node": {
  201. "__id__": 2
  202. },
  203. "_enabled": true,
  204. "__prefab": {
  205. "__id__": 8
  206. },
  207. "enabledContactListener": false,
  208. "bullet": false,
  209. "awakeOnLoad": true,
  210. "_group": 1,
  211. "_type": 0,
  212. "_allowSleep": true,
  213. "_gravityScale": 1,
  214. "_linearDamping": 0,
  215. "_angularDamping": 0,
  216. "_linearVelocity": {
  217. "__type__": "cc.Vec2",
  218. "x": 0,
  219. "y": 0
  220. },
  221. "_angularVelocity": 0,
  222. "_fixedRotation": false,
  223. "_id": ""
  224. },
  225. {
  226. "__type__": "cc.CompPrefabInfo",
  227. "fileId": "edZ9xIsJtG4qDEahpWYxiL"
  228. },
  229. {
  230. "__type__": "cc.CircleCollider2D",
  231. "_name": "",
  232. "_objFlags": 0,
  233. "__editorExtras__": {},
  234. "node": {
  235. "__id__": 2
  236. },
  237. "_enabled": true,
  238. "__prefab": {
  239. "__id__": 10
  240. },
  241. "tag": 0,
  242. "_group": 1,
  243. "_density": 1,
  244. "_sensor": false,
  245. "_friction": 0.2,
  246. "_restitution": 0.2,
  247. "_offset": {
  248. "__type__": "cc.Vec2",
  249. "x": 0,
  250. "y": 0
  251. },
  252. "_radius": 20,
  253. "_id": ""
  254. },
  255. {
  256. "__type__": "cc.CompPrefabInfo",
  257. "fileId": "92zEVsIEFOyKWNvov1vEB7"
  258. },
  259. {
  260. "__type__": "cc.PrefabInfo",
  261. "root": {
  262. "__id__": 1
  263. },
  264. "asset": {
  265. "__id__": 0
  266. },
  267. "fileId": "65a948LhRKL5Ie71B5brMr",
  268. "instance": null,
  269. "targetOverrides": null,
  270. "nestedPrefabInstanceRoots": null
  271. },
  272. {
  273. "__type__": "cc.UITransform",
  274. "_name": "",
  275. "_objFlags": 0,
  276. "__editorExtras__": {},
  277. "node": {
  278. "__id__": 1
  279. },
  280. "_enabled": true,
  281. "__prefab": {
  282. "__id__": 13
  283. },
  284. "_contentSize": {
  285. "__type__": "cc.Size",
  286. "width": 22,
  287. "height": 279
  288. },
  289. "_anchorPoint": {
  290. "__type__": "cc.Vec2",
  291. "x": 0.5,
  292. "y": 0.5
  293. },
  294. "_id": ""
  295. },
  296. {
  297. "__type__": "cc.CompPrefabInfo",
  298. "fileId": "6aGKZ14kxOxrODKnuc/NZt"
  299. },
  300. {
  301. "__type__": "cc.Sprite",
  302. "_name": "",
  303. "_objFlags": 0,
  304. "__editorExtras__": {},
  305. "node": {
  306. "__id__": 1
  307. },
  308. "_enabled": true,
  309. "__prefab": {
  310. "__id__": 15
  311. },
  312. "_customMaterial": null,
  313. "_srcBlendFactor": 2,
  314. "_dstBlendFactor": 4,
  315. "_color": {
  316. "__type__": "cc.Color",
  317. "r": 255,
  318. "g": 255,
  319. "b": 255,
  320. "a": 255
  321. },
  322. "_spriteFrame": {
  323. "__uuid__": "9971cc0b-1350-43dc-b4a1-3f736f888dfc@f9941",
  324. "__expectedType__": "cc.SpriteFrame"
  325. },
  326. "_type": 0,
  327. "_fillType": 0,
  328. "_sizeMode": 0,
  329. "_fillCenter": {
  330. "__type__": "cc.Vec2",
  331. "x": 0,
  332. "y": 0
  333. },
  334. "_fillStart": 0,
  335. "_fillRange": 0,
  336. "_isTrimmedMode": true,
  337. "_useGrayscale": false,
  338. "_atlas": null,
  339. "_id": ""
  340. },
  341. {
  342. "__type__": "cc.CompPrefabInfo",
  343. "fileId": "d86o+t7UtLP4y7Jh3EZcNS"
  344. },
  345. {
  346. "__type__": "cc.RigidBody2D",
  347. "_name": "",
  348. "_objFlags": 0,
  349. "__editorExtras__": {},
  350. "node": {
  351. "__id__": 1
  352. },
  353. "_enabled": false,
  354. "__prefab": {
  355. "__id__": 17
  356. },
  357. "enabledContactListener": false,
  358. "bullet": false,
  359. "awakeOnLoad": true,
  360. "_group": 1,
  361. "_type": 0,
  362. "_allowSleep": true,
  363. "_gravityScale": 1,
  364. "_linearDamping": 0,
  365. "_angularDamping": 0,
  366. "_linearVelocity": {
  367. "__type__": "cc.Vec2",
  368. "x": 0,
  369. "y": 0
  370. },
  371. "_angularVelocity": 0,
  372. "_fixedRotation": false,
  373. "_id": ""
  374. },
  375. {
  376. "__type__": "cc.CompPrefabInfo",
  377. "fileId": "3eFwrn4JRGi6CzivGX3OCh"
  378. },
  379. {
  380. "__type__": "2b3f79lH+tBRZby/BNtk6Dt",
  381. "_name": "",
  382. "_objFlags": 0,
  383. "__editorExtras__": {},
  384. "node": {
  385. "__id__": 1
  386. },
  387. "_enabled": true,
  388. "__prefab": {
  389. "__id__": 19
  390. },
  391. "_id": ""
  392. },
  393. {
  394. "__type__": "cc.CompPrefabInfo",
  395. "fileId": "c54xLYVq9IObsUEzV4w9as"
  396. },
  397. {
  398. "__type__": "cc.BoxCollider2D",
  399. "_name": "",
  400. "_objFlags": 0,
  401. "__editorExtras__": {},
  402. "node": {
  403. "__id__": 1
  404. },
  405. "_enabled": true,
  406. "__prefab": {
  407. "__id__": 21
  408. },
  409. "tag": 0,
  410. "_group": 1,
  411. "_density": 1,
  412. "_sensor": true,
  413. "_friction": 0,
  414. "_restitution": 0,
  415. "_offset": {
  416. "__type__": "cc.Vec2",
  417. "x": 0,
  418. "y": 0
  419. },
  420. "_size": {
  421. "__type__": "cc.Size",
  422. "width": 20,
  423. "height": 279
  424. },
  425. "_id": ""
  426. },
  427. {
  428. "__type__": "cc.CompPrefabInfo",
  429. "fileId": "170sD6Zk9JTr+8AppFF+Ys"
  430. },
  431. {
  432. "__type__": "cc.PrefabInfo",
  433. "root": {
  434. "__id__": 1
  435. },
  436. "asset": {
  437. "__id__": 0
  438. },
  439. "fileId": "33GjOqRqBPSrBwoX6omH8H",
  440. "instance": null,
  441. "targetOverrides": null
  442. }
  443. ]