item.prefab 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435
  1. [
  2. {
  3. "__type__": "cc.Prefab",
  4. "_name": "item",
  5. "_objFlags": 0,
  6. "_native": "",
  7. "data": {
  8. "__id__": 1
  9. },
  10. "optimizationPolicy": 0,
  11. "persistent": false
  12. },
  13. {
  14. "__type__": "cc.Node",
  15. "_name": "item",
  16. "_objFlags": 0,
  17. "__editorExtras__": {},
  18. "_parent": null,
  19. "_children": [
  20. {
  21. "__id__": 2
  22. },
  23. {
  24. "__id__": 8
  25. }
  26. ],
  27. "_active": true,
  28. "_components": [
  29. {
  30. "__id__": 15
  31. },
  32. {
  33. "__id__": 17
  34. }
  35. ],
  36. "_prefab": {
  37. "__id__": 19
  38. },
  39. "_lpos": {
  40. "__type__": "cc.Vec3",
  41. "x": 0,
  42. "y": 0,
  43. "z": 0
  44. },
  45. "_lrot": {
  46. "__type__": "cc.Quat",
  47. "x": 0,
  48. "y": 0,
  49. "z": 0,
  50. "w": 1
  51. },
  52. "_lscale": {
  53. "__type__": "cc.Vec3",
  54. "x": 1,
  55. "y": 1,
  56. "z": 1
  57. },
  58. "_mobility": 0,
  59. "_layer": 33554432,
  60. "_euler": {
  61. "__type__": "cc.Vec3",
  62. "x": 0,
  63. "y": 0,
  64. "z": 0
  65. },
  66. "_id": ""
  67. },
  68. {
  69. "__type__": "cc.Node",
  70. "_name": "icon01",
  71. "_objFlags": 0,
  72. "_parent": {
  73. "__id__": 1
  74. },
  75. "_children": [],
  76. "_active": true,
  77. "_components": [
  78. {
  79. "__id__": 3
  80. },
  81. {
  82. "__id__": 5
  83. }
  84. ],
  85. "_prefab": {
  86. "__id__": 7
  87. },
  88. "_lpos": {
  89. "__type__": "cc.Vec3",
  90. "x": 0,
  91. "y": 0,
  92. "z": 0
  93. },
  94. "_lrot": {
  95. "__type__": "cc.Quat",
  96. "x": 0,
  97. "y": 0,
  98. "z": 0,
  99. "w": 1
  100. },
  101. "_lscale": {
  102. "__type__": "cc.Vec3",
  103. "x": 0.8,
  104. "y": 0.8,
  105. "z": 1
  106. },
  107. "_mobility": 0,
  108. "_layer": 33554432,
  109. "_euler": {
  110. "__type__": "cc.Vec3",
  111. "x": 0,
  112. "y": 0,
  113. "z": 0
  114. },
  115. "_id": ""
  116. },
  117. {
  118. "__type__": "cc.UITransform",
  119. "_name": "",
  120. "_objFlags": 0,
  121. "node": {
  122. "__id__": 2
  123. },
  124. "_enabled": true,
  125. "__prefab": {
  126. "__id__": 4
  127. },
  128. "_contentSize": {
  129. "__type__": "cc.Size",
  130. "width": 312,
  131. "height": 247
  132. },
  133. "_anchorPoint": {
  134. "__type__": "cc.Vec2",
  135. "x": 0.5,
  136. "y": 0.5
  137. },
  138. "_id": ""
  139. },
  140. {
  141. "__type__": "cc.CompPrefabInfo",
  142. "fileId": "faJJ1JB1JLu7HiwrLqsC1r"
  143. },
  144. {
  145. "__type__": "cc.Sprite",
  146. "_name": "",
  147. "_objFlags": 0,
  148. "node": {
  149. "__id__": 2
  150. },
  151. "_enabled": true,
  152. "__prefab": {
  153. "__id__": 6
  154. },
  155. "_customMaterial": null,
  156. "_srcBlendFactor": 2,
  157. "_dstBlendFactor": 4,
  158. "_color": {
  159. "__type__": "cc.Color",
  160. "r": 255,
  161. "g": 255,
  162. "b": 255,
  163. "a": 255
  164. },
  165. "_spriteFrame": {
  166. "__uuid__": "412c3f12-6127-4125-9876-4755ab174290@f9941",
  167. "__expectedType__": "cc.SpriteFrame"
  168. },
  169. "_type": 0,
  170. "_fillType": 0,
  171. "_sizeMode": 1,
  172. "_fillCenter": {
  173. "__type__": "cc.Vec2",
  174. "x": 0,
  175. "y": 0
  176. },
  177. "_fillStart": 0,
  178. "_fillRange": 0,
  179. "_isTrimmedMode": true,
  180. "_useGrayscale": false,
  181. "_atlas": null,
  182. "_id": ""
  183. },
  184. {
  185. "__type__": "cc.CompPrefabInfo",
  186. "fileId": "c0OxA8RX9IF4dtSlb8e0Nh"
  187. },
  188. {
  189. "__type__": "cc.PrefabInfo",
  190. "root": {
  191. "__id__": 1
  192. },
  193. "asset": {
  194. "__id__": 0
  195. },
  196. "fileId": "37YZeEFKZK45RmCigKNrNS",
  197. "instance": null,
  198. "targetOverrides": null,
  199. "nestedPrefabInstanceRoots": null
  200. },
  201. {
  202. "__type__": "cc.Node",
  203. "_name": "Button",
  204. "_objFlags": 0,
  205. "_parent": {
  206. "__id__": 1
  207. },
  208. "_children": [],
  209. "_active": true,
  210. "_components": [
  211. {
  212. "__id__": 9
  213. },
  214. {
  215. "__id__": 11
  216. }
  217. ],
  218. "_prefab": {
  219. "__id__": 14
  220. },
  221. "_lpos": {
  222. "__type__": "cc.Vec3",
  223. "x": 0,
  224. "y": 0,
  225. "z": 0
  226. },
  227. "_lrot": {
  228. "__type__": "cc.Quat",
  229. "x": 0,
  230. "y": 0,
  231. "z": 0,
  232. "w": 1
  233. },
  234. "_lscale": {
  235. "__type__": "cc.Vec3",
  236. "x": 1,
  237. "y": 1,
  238. "z": 1
  239. },
  240. "_mobility": 0,
  241. "_layer": 33554432,
  242. "_euler": {
  243. "__type__": "cc.Vec3",
  244. "x": 0,
  245. "y": 0,
  246. "z": 0
  247. },
  248. "_id": ""
  249. },
  250. {
  251. "__type__": "cc.UITransform",
  252. "_name": "",
  253. "_objFlags": 0,
  254. "node": {
  255. "__id__": 8
  256. },
  257. "_enabled": true,
  258. "__prefab": {
  259. "__id__": 10
  260. },
  261. "_contentSize": {
  262. "__type__": "cc.Size",
  263. "width": 250,
  264. "height": 250
  265. },
  266. "_anchorPoint": {
  267. "__type__": "cc.Vec2",
  268. "x": 0.5,
  269. "y": 0.5
  270. },
  271. "_id": ""
  272. },
  273. {
  274. "__type__": "cc.CompPrefabInfo",
  275. "fileId": "07k9G/QRlO+bMHMXjPSE6i"
  276. },
  277. {
  278. "__type__": "cc.Button",
  279. "_name": "",
  280. "_objFlags": 0,
  281. "node": {
  282. "__id__": 8
  283. },
  284. "_enabled": true,
  285. "__prefab": {
  286. "__id__": 12
  287. },
  288. "clickEvents": [
  289. {
  290. "__id__": 13
  291. }
  292. ],
  293. "_interactable": true,
  294. "_transition": 0,
  295. "_normalColor": {
  296. "__type__": "cc.Color",
  297. "r": 214,
  298. "g": 214,
  299. "b": 214,
  300. "a": 255
  301. },
  302. "_hoverColor": {
  303. "__type__": "cc.Color",
  304. "r": 211,
  305. "g": 211,
  306. "b": 211,
  307. "a": 255
  308. },
  309. "_pressedColor": {
  310. "__type__": "cc.Color",
  311. "r": 255,
  312. "g": 255,
  313. "b": 255,
  314. "a": 255
  315. },
  316. "_disabledColor": {
  317. "__type__": "cc.Color",
  318. "r": 124,
  319. "g": 124,
  320. "b": 124,
  321. "a": 255
  322. },
  323. "_normalSprite": {
  324. "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941",
  325. "__expectedType__": "cc.SpriteFrame"
  326. },
  327. "_hoverSprite": {
  328. "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941",
  329. "__expectedType__": "cc.SpriteFrame"
  330. },
  331. "_pressedSprite": {
  332. "__uuid__": "544e49d6-3f05-4fa8-9a9e-091f98fc2ce8@f9941",
  333. "__expectedType__": "cc.SpriteFrame"
  334. },
  335. "_disabledSprite": {
  336. "__uuid__": "951249e0-9f16-456d-8b85-a6ca954da16b@f9941",
  337. "__expectedType__": "cc.SpriteFrame"
  338. },
  339. "_duration": 0.1,
  340. "_zoomScale": 1.2,
  341. "_target": {
  342. "__id__": 8
  343. },
  344. "_id": ""
  345. },
  346. {
  347. "__type__": "cc.CompPrefabInfo",
  348. "fileId": "bdZCXswDZLJYkTWoCOfAN/"
  349. },
  350. {
  351. "__type__": "cc.ClickEvent",
  352. "target": {
  353. "__id__": 1
  354. },
  355. "component": "",
  356. "_componentId": "4b8c5efDXVLmKJZj/bh2OFF",
  357. "handler": "clickItem",
  358. "customEventData": ""
  359. },
  360. {
  361. "__type__": "cc.PrefabInfo",
  362. "root": {
  363. "__id__": 1
  364. },
  365. "asset": {
  366. "__id__": 0
  367. },
  368. "fileId": "ebZcqqGLlOR5tTT7iyV152",
  369. "instance": null,
  370. "targetOverrides": null,
  371. "nestedPrefabInstanceRoots": null
  372. },
  373. {
  374. "__type__": "cc.UITransform",
  375. "_name": "",
  376. "_objFlags": 0,
  377. "node": {
  378. "__id__": 1
  379. },
  380. "_enabled": true,
  381. "__prefab": {
  382. "__id__": 16
  383. },
  384. "_contentSize": {
  385. "__type__": "cc.Size",
  386. "width": 250,
  387. "height": 250
  388. },
  389. "_anchorPoint": {
  390. "__type__": "cc.Vec2",
  391. "x": 0.5,
  392. "y": 0.5
  393. },
  394. "_id": ""
  395. },
  396. {
  397. "__type__": "cc.CompPrefabInfo",
  398. "fileId": "6cmbmLmLdAJJ74LYBi+8zR"
  399. },
  400. {
  401. "__type__": "4b8c5efDXVLmKJZj/bh2OFF",
  402. "_name": "",
  403. "_objFlags": 0,
  404. "node": {
  405. "__id__": 1
  406. },
  407. "_enabled": true,
  408. "__prefab": {
  409. "__id__": 18
  410. },
  411. "icons": {
  412. "__id__": 5
  413. },
  414. "iconNode": {
  415. "__id__": 2
  416. },
  417. "_id": ""
  418. },
  419. {
  420. "__type__": "cc.CompPrefabInfo",
  421. "fileId": "02QkNdSkJEtaQYonY0QpCO"
  422. },
  423. {
  424. "__type__": "cc.PrefabInfo",
  425. "root": {
  426. "__id__": 1
  427. },
  428. "asset": {
  429. "__id__": 0
  430. },
  431. "fileId": "40yp1ZUjBI06V34hTozTMB",
  432. "instance": null,
  433. "targetOverrides": null
  434. }
  435. ]