user_interaction_item.prefab 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404
  1. [
  2. {
  3. "__type__": "cc.Prefab",
  4. "_name": "",
  5. "_objFlags": 0,
  6. "_native": "",
  7. "data": {
  8. "__id__": 1
  9. },
  10. "optimizationPolicy": 0,
  11. "asyncLoadAssets": false
  12. },
  13. {
  14. "__type__": "cc.Node",
  15. "_name": "user_interaction_item",
  16. "_objFlags": 0,
  17. "_parent": null,
  18. "_children": [
  19. {
  20. "__id__": 2
  21. }
  22. ],
  23. "_tag": -1,
  24. "_active": true,
  25. "_components": [
  26. {
  27. "__id__": 12
  28. }
  29. ],
  30. "_prefab": {
  31. "__id__": 13
  32. },
  33. "_id": "",
  34. "_opacity": 255,
  35. "_color": {
  36. "__type__": "cc.Color",
  37. "r": 255,
  38. "g": 255,
  39. "b": 255,
  40. "a": 255
  41. },
  42. "_cascadeOpacityEnabled": true,
  43. "_anchorPoint": {
  44. "__type__": "cc.Vec2",
  45. "x": 0.5,
  46. "y": 1
  47. },
  48. "_contentSize": {
  49. "__type__": "cc.Size",
  50. "width": 430,
  51. "height": 80
  52. },
  53. "_rotationX": 0,
  54. "_rotationY": 0,
  55. "_scaleX": 1,
  56. "_scaleY": 1,
  57. "_position": {
  58. "__type__": "cc.Vec2",
  59. "x": 0,
  60. "y": 0
  61. },
  62. "_skewX": 0,
  63. "_skewY": 0,
  64. "_localZOrder": 0,
  65. "_globalZOrder": 0,
  66. "_opacityModifyRGB": false,
  67. "groupIndex": 0
  68. },
  69. {
  70. "__type__": "cc.Node",
  71. "_name": "backgroundNode",
  72. "_objFlags": 0,
  73. "_parent": {
  74. "__id__": 1
  75. },
  76. "_children": [
  77. {
  78. "__id__": 3
  79. }
  80. ],
  81. "_tag": -1,
  82. "_active": true,
  83. "_components": [
  84. {
  85. "__id__": 7
  86. },
  87. {
  88. "__id__": 8
  89. },
  90. {
  91. "__id__": 9
  92. }
  93. ],
  94. "_prefab": {
  95. "__id__": 11
  96. },
  97. "_id": "",
  98. "_opacity": 255,
  99. "_color": {
  100. "__type__": "cc.Color",
  101. "r": 255,
  102. "g": 255,
  103. "b": 255,
  104. "a": 255
  105. },
  106. "_cascadeOpacityEnabled": true,
  107. "_anchorPoint": {
  108. "__type__": "cc.Vec2",
  109. "x": 0.5,
  110. "y": 0.5
  111. },
  112. "_contentSize": {
  113. "__type__": "cc.Size",
  114. "width": 430,
  115. "height": 80
  116. },
  117. "_rotationX": 0,
  118. "_rotationY": 0,
  119. "_scaleX": 1,
  120. "_scaleY": 1,
  121. "_position": {
  122. "__type__": "cc.Vec2",
  123. "x": 0,
  124. "y": -40
  125. },
  126. "_skewX": 0,
  127. "_skewY": 0,
  128. "_localZOrder": 0,
  129. "_globalZOrder": 0,
  130. "_opacityModifyRGB": false,
  131. "groupIndex": 0
  132. },
  133. {
  134. "__type__": "cc.Node",
  135. "_name": "interactionItemLabel",
  136. "_objFlags": 0,
  137. "_parent": {
  138. "__id__": 2
  139. },
  140. "_children": [],
  141. "_tag": -1,
  142. "_active": true,
  143. "_components": [
  144. {
  145. "__id__": 4
  146. },
  147. {
  148. "__id__": 5
  149. }
  150. ],
  151. "_prefab": {
  152. "__id__": 6
  153. },
  154. "_id": "",
  155. "_opacity": 255,
  156. "_color": {
  157. "__type__": "cc.Color",
  158. "r": 241,
  159. "g": 231,
  160. "b": 224,
  161. "a": 255
  162. },
  163. "_cascadeOpacityEnabled": true,
  164. "_anchorPoint": {
  165. "__type__": "cc.Vec2",
  166. "x": 0.5,
  167. "y": 0.5
  168. },
  169. "_contentSize": {
  170. "__type__": "cc.Size",
  171. "width": 63,
  172. "height": 28
  173. },
  174. "_rotationX": 0,
  175. "_rotationY": 0,
  176. "_scaleX": 1,
  177. "_scaleY": 1,
  178. "_position": {
  179. "__type__": "cc.Vec2",
  180. "x": 0,
  181. "y": 0
  182. },
  183. "_skewX": 0,
  184. "_skewY": 0,
  185. "_localZOrder": 0,
  186. "_globalZOrder": 0,
  187. "_opacityModifyRGB": false,
  188. "groupIndex": 0
  189. },
  190. {
  191. "__type__": "cc.Label",
  192. "_name": "",
  193. "_objFlags": 0,
  194. "node": {
  195. "__id__": 3
  196. },
  197. "_enabled": true,
  198. "_useOriginalSize": false,
  199. "_actualFontSize": 24,
  200. "_fontSize": 24,
  201. "_lineHeight": 28,
  202. "_enableWrapText": true,
  203. "_N$file": null,
  204. "_isSystemFontUsed": true,
  205. "_spacingX": 0,
  206. "_N$string": "Label",
  207. "_N$horizontalAlign": 1,
  208. "_N$verticalAlign": 1,
  209. "_N$fontFamily": "Arial",
  210. "_N$overflow": 0
  211. },
  212. {
  213. "__type__": "cc.LabelOutline",
  214. "_name": "",
  215. "_objFlags": 0,
  216. "node": {
  217. "__id__": 3
  218. },
  219. "_enabled": true,
  220. "_color": {
  221. "__type__": "cc.Color",
  222. "r": 104,
  223. "g": 69,
  224. "b": 0,
  225. "a": 255
  226. },
  227. "_width": 2
  228. },
  229. {
  230. "__type__": "cc.PrefabInfo",
  231. "root": {
  232. "__id__": 1
  233. },
  234. "asset": {
  235. "__uuid__": "3014a2e7-b7ec-482a-a0b7-4a3054c3b358"
  236. },
  237. "fileId": "64KtGw+uxAhJX04IxhDvY/",
  238. "sync": false
  239. },
  240. {
  241. "__type__": "cc.Sprite",
  242. "_name": "",
  243. "_objFlags": 0,
  244. "node": {
  245. "__id__": 2
  246. },
  247. "_enabled": true,
  248. "_spriteFrame": {
  249. "__uuid__": "f713f8f7-0077-4fa9-ba7a-c03e3de4f3df"
  250. },
  251. "_type": 0,
  252. "_sizeMode": 0,
  253. "_fillType": 0,
  254. "_fillCenter": {
  255. "__type__": "cc.Vec2",
  256. "x": 0,
  257. "y": 0
  258. },
  259. "_fillStart": 0,
  260. "_fillRange": 0,
  261. "_isTrimmedMode": true,
  262. "_srcBlendFactor": 770,
  263. "_dstBlendFactor": 771,
  264. "_atlas": null
  265. },
  266. {
  267. "__type__": "cc.Widget",
  268. "_name": "",
  269. "_objFlags": 0,
  270. "node": {
  271. "__id__": 2
  272. },
  273. "_enabled": true,
  274. "alignMode": 0,
  275. "_target": null,
  276. "_alignFlags": 45,
  277. "_left": 0,
  278. "_right": 0,
  279. "_top": 0,
  280. "_bottom": 0,
  281. "_verticalCenter": 0,
  282. "_horizontalCenter": 0,
  283. "_isAbsLeft": true,
  284. "_isAbsRight": true,
  285. "_isAbsTop": true,
  286. "_isAbsBottom": true,
  287. "_isAbsHorizontalCenter": true,
  288. "_isAbsVerticalCenter": true,
  289. "_originalWidth": 430,
  290. "_originalHeight": 80
  291. },
  292. {
  293. "__type__": "cc.Button",
  294. "_name": "",
  295. "_objFlags": 0,
  296. "node": {
  297. "__id__": 2
  298. },
  299. "_enabled": true,
  300. "transition": 2,
  301. "pressedColor": {
  302. "__type__": "cc.Color",
  303. "r": 120,
  304. "g": 120,
  305. "b": 120,
  306. "a": 255
  307. },
  308. "hoverColor": {
  309. "__type__": "cc.Color",
  310. "r": 255,
  311. "g": 255,
  312. "b": 255,
  313. "a": 255
  314. },
  315. "duration": 0.1,
  316. "zoomScale": 1.2,
  317. "clickEvents": [
  318. {
  319. "__id__": 10
  320. }
  321. ],
  322. "_N$interactable": true,
  323. "_N$enableAutoGrayEffect": false,
  324. "_N$normalColor": {
  325. "__type__": "cc.Color",
  326. "r": 255,
  327. "g": 255,
  328. "b": 255,
  329. "a": 255
  330. },
  331. "_N$disabledColor": {
  332. "__type__": "cc.Color",
  333. "r": 255,
  334. "g": 255,
  335. "b": 255,
  336. "a": 255
  337. },
  338. "_N$normalSprite": {
  339. "__uuid__": "f713f8f7-0077-4fa9-ba7a-c03e3de4f3df"
  340. },
  341. "_N$pressedSprite": {
  342. "__uuid__": "ac70c7aa-f4e3-4b44-b080-1fbd5be7e687"
  343. },
  344. "pressedSprite": {
  345. "__uuid__": "ac70c7aa-f4e3-4b44-b080-1fbd5be7e687"
  346. },
  347. "_N$hoverSprite": {
  348. "__uuid__": "ac70c7aa-f4e3-4b44-b080-1fbd5be7e687"
  349. },
  350. "hoverSprite": {
  351. "__uuid__": "ac70c7aa-f4e3-4b44-b080-1fbd5be7e687"
  352. },
  353. "_N$disabledSprite": null,
  354. "_N$target": {
  355. "__id__": 2
  356. }
  357. },
  358. {
  359. "__type__": "cc.ClickEvent",
  360. "target": {
  361. "__id__": 1
  362. },
  363. "component": "UserInteractionItem",
  364. "handler": "selectItem",
  365. "customEventData": ""
  366. },
  367. {
  368. "__type__": "cc.PrefabInfo",
  369. "root": {
  370. "__id__": 1
  371. },
  372. "asset": {
  373. "__uuid__": "3014a2e7-b7ec-482a-a0b7-4a3054c3b358"
  374. },
  375. "fileId": "f1tsnknblI24EJ17xNL1k4",
  376. "sync": false
  377. },
  378. {
  379. "__type__": "c1113Cf5dtF+YCuc3ciymD7",
  380. "_name": "",
  381. "_objFlags": 0,
  382. "node": {
  383. "__id__": 1
  384. },
  385. "_enabled": true,
  386. "interactionLabel": {
  387. "__id__": 4
  388. },
  389. "backgroundSprite": {
  390. "__id__": 7
  391. }
  392. },
  393. {
  394. "__type__": "cc.PrefabInfo",
  395. "root": {
  396. "__id__": 1
  397. },
  398. "asset": {
  399. "__uuid__": "3014a2e7-b7ec-482a-a0b7-4a3054c3b358"
  400. },
  401. "fileId": "e2vxbcsPZGOq+WzLnGNajQ",
  402. "sync": false
  403. }
  404. ]