user_interaction_item.prefab 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384
  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__": 11
  28. }
  29. ],
  30. "_prefab": {
  31. "__id__": 12
  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": 510,
  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__": 6
  86. },
  87. {
  88. "__id__": 7
  89. },
  90. {
  91. "__id__": 8
  92. }
  93. ],
  94. "_prefab": {
  95. "__id__": 10
  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": 510,
  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. "_prefab": {
  149. "__id__": 5
  150. },
  151. "_id": "",
  152. "_opacity": 255,
  153. "_color": {
  154. "__type__": "cc.Color",
  155. "r": 88,
  156. "g": 74,
  157. "b": 71,
  158. "a": 255
  159. },
  160. "_cascadeOpacityEnabled": true,
  161. "_anchorPoint": {
  162. "__type__": "cc.Vec2",
  163. "x": 0.5,
  164. "y": 0.5
  165. },
  166. "_contentSize": {
  167. "__type__": "cc.Size",
  168. "width": 59,
  169. "height": 28
  170. },
  171. "_rotationX": 0,
  172. "_rotationY": 0,
  173. "_scaleX": 1,
  174. "_scaleY": 1,
  175. "_position": {
  176. "__type__": "cc.Vec2",
  177. "x": 0,
  178. "y": 0
  179. },
  180. "_skewX": 0,
  181. "_skewY": 0,
  182. "_localZOrder": 0,
  183. "_globalZOrder": 0,
  184. "_opacityModifyRGB": false,
  185. "groupIndex": 0
  186. },
  187. {
  188. "__type__": "cc.Label",
  189. "_name": "",
  190. "_objFlags": 0,
  191. "node": {
  192. "__id__": 3
  193. },
  194. "_enabled": true,
  195. "_useOriginalSize": false,
  196. "_actualFontSize": 24,
  197. "_fontSize": 24,
  198. "_lineHeight": 28,
  199. "_enableWrapText": true,
  200. "_N$file": null,
  201. "_isSystemFontUsed": true,
  202. "_spacingX": 0,
  203. "_N$string": "Label",
  204. "_N$horizontalAlign": 1,
  205. "_N$verticalAlign": 1,
  206. "_N$fontFamily": "Arial",
  207. "_N$overflow": 0
  208. },
  209. {
  210. "__type__": "cc.PrefabInfo",
  211. "root": {
  212. "__id__": 1
  213. },
  214. "asset": {
  215. "__uuid__": "3014a2e7-b7ec-482a-a0b7-4a3054c3b358"
  216. },
  217. "fileId": "64KtGw+uxAhJX04IxhDvY/",
  218. "sync": false
  219. },
  220. {
  221. "__type__": "cc.Sprite",
  222. "_name": "",
  223. "_objFlags": 0,
  224. "node": {
  225. "__id__": 2
  226. },
  227. "_enabled": true,
  228. "_spriteFrame": {
  229. "__uuid__": "f713f8f7-0077-4fa9-ba7a-c03e3de4f3df"
  230. },
  231. "_type": 1,
  232. "_sizeMode": 0,
  233. "_fillType": 0,
  234. "_fillCenter": {
  235. "__type__": "cc.Vec2",
  236. "x": 0,
  237. "y": 0
  238. },
  239. "_fillStart": 0,
  240. "_fillRange": 0,
  241. "_isTrimmedMode": true,
  242. "_srcBlendFactor": 770,
  243. "_dstBlendFactor": 771,
  244. "_atlas": null
  245. },
  246. {
  247. "__type__": "cc.Widget",
  248. "_name": "",
  249. "_objFlags": 0,
  250. "node": {
  251. "__id__": 2
  252. },
  253. "_enabled": true,
  254. "alignMode": 0,
  255. "_target": null,
  256. "_alignFlags": 45,
  257. "_left": 0,
  258. "_right": 0,
  259. "_top": 0,
  260. "_bottom": 0,
  261. "_verticalCenter": 0,
  262. "_horizontalCenter": 0,
  263. "_isAbsLeft": true,
  264. "_isAbsRight": true,
  265. "_isAbsTop": true,
  266. "_isAbsBottom": true,
  267. "_isAbsHorizontalCenter": true,
  268. "_isAbsVerticalCenter": true,
  269. "_originalWidth": 430,
  270. "_originalHeight": 80
  271. },
  272. {
  273. "__type__": "cc.Button",
  274. "_name": "",
  275. "_objFlags": 0,
  276. "node": {
  277. "__id__": 2
  278. },
  279. "_enabled": true,
  280. "transition": 2,
  281. "pressedColor": {
  282. "__type__": "cc.Color",
  283. "r": 120,
  284. "g": 120,
  285. "b": 120,
  286. "a": 255
  287. },
  288. "hoverColor": {
  289. "__type__": "cc.Color",
  290. "r": 255,
  291. "g": 255,
  292. "b": 255,
  293. "a": 255
  294. },
  295. "duration": 0.1,
  296. "zoomScale": 1.2,
  297. "clickEvents": [
  298. {
  299. "__id__": 9
  300. }
  301. ],
  302. "_N$interactable": true,
  303. "_N$enableAutoGrayEffect": false,
  304. "_N$normalColor": {
  305. "__type__": "cc.Color",
  306. "r": 255,
  307. "g": 255,
  308. "b": 255,
  309. "a": 255
  310. },
  311. "_N$disabledColor": {
  312. "__type__": "cc.Color",
  313. "r": 255,
  314. "g": 255,
  315. "b": 255,
  316. "a": 255
  317. },
  318. "_N$normalSprite": {
  319. "__uuid__": "f713f8f7-0077-4fa9-ba7a-c03e3de4f3df"
  320. },
  321. "_N$pressedSprite": {
  322. "__uuid__": "ac70c7aa-f4e3-4b44-b080-1fbd5be7e687"
  323. },
  324. "pressedSprite": {
  325. "__uuid__": "ac70c7aa-f4e3-4b44-b080-1fbd5be7e687"
  326. },
  327. "_N$hoverSprite": {
  328. "__uuid__": "ac70c7aa-f4e3-4b44-b080-1fbd5be7e687"
  329. },
  330. "hoverSprite": {
  331. "__uuid__": "ac70c7aa-f4e3-4b44-b080-1fbd5be7e687"
  332. },
  333. "_N$disabledSprite": null,
  334. "_N$target": {
  335. "__id__": 2
  336. }
  337. },
  338. {
  339. "__type__": "cc.ClickEvent",
  340. "target": {
  341. "__id__": 1
  342. },
  343. "component": "UserInteractionItem",
  344. "handler": "selectItem",
  345. "customEventData": ""
  346. },
  347. {
  348. "__type__": "cc.PrefabInfo",
  349. "root": {
  350. "__id__": 1
  351. },
  352. "asset": {
  353. "__uuid__": "3014a2e7-b7ec-482a-a0b7-4a3054c3b358"
  354. },
  355. "fileId": "f1tsnknblI24EJ17xNL1k4",
  356. "sync": false
  357. },
  358. {
  359. "__type__": "c1113Cf5dtF+YCuc3ciymD7",
  360. "_name": "",
  361. "_objFlags": 0,
  362. "node": {
  363. "__id__": 1
  364. },
  365. "_enabled": true,
  366. "interactionLabel": {
  367. "__id__": 4
  368. },
  369. "backgroundSprite": {
  370. "__id__": 6
  371. }
  372. },
  373. {
  374. "__type__": "cc.PrefabInfo",
  375. "root": {
  376. "__id__": 1
  377. },
  378. "asset": {
  379. "__uuid__": "3014a2e7-b7ec-482a-a0b7-4a3054c3b358"
  380. },
  381. "fileId": "e2vxbcsPZGOq+WzLnGNajQ",
  382. "sync": false
  383. }
  384. ]