prefab_button_a4.prefab 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463
  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. "readonly": false
  13. },
  14. {
  15. "__type__": "cc.Node",
  16. "_name": "prefab_button_a4",
  17. "_objFlags": 0,
  18. "_parent": null,
  19. "_children": [
  20. {
  21. "__id__": 2
  22. }
  23. ],
  24. "_active": true,
  25. "_components": [
  26. {
  27. "__id__": 8
  28. },
  29. {
  30. "__id__": 9
  31. },
  32. {
  33. "__id__": 10
  34. },
  35. {
  36. "__id__": 11
  37. }
  38. ],
  39. "_prefab": {
  40. "__id__": 12
  41. },
  42. "_opacity": 255,
  43. "_color": {
  44. "__type__": "cc.Color",
  45. "r": 255,
  46. "g": 255,
  47. "b": 255,
  48. "a": 255
  49. },
  50. "_contentSize": {
  51. "__type__": "cc.Size",
  52. "width": 90,
  53. "height": 42
  54. },
  55. "_anchorPoint": {
  56. "__type__": "cc.Vec2",
  57. "x": 0.5,
  58. "y": 0.5
  59. },
  60. "_trs": {
  61. "__type__": "TypedArray",
  62. "ctor": "Float64Array",
  63. "array": [
  64. 173,
  65. 0,
  66. 0,
  67. 0,
  68. 0,
  69. 0,
  70. 1,
  71. 1,
  72. 1,
  73. 1
  74. ]
  75. },
  76. "_eulerAngles": {
  77. "__type__": "cc.Vec3",
  78. "x": 0,
  79. "y": 0,
  80. "z": 0
  81. },
  82. "_skewX": 0,
  83. "_skewY": 0,
  84. "_is3DNode": false,
  85. "_groupIndex": 0,
  86. "groupIndex": 0,
  87. "_id": ""
  88. },
  89. {
  90. "__type__": "cc.Node",
  91. "_name": "richText",
  92. "_objFlags": 0,
  93. "_parent": {
  94. "__id__": 1
  95. },
  96. "_children": [
  97. {
  98. "__id__": 3
  99. }
  100. ],
  101. "_active": true,
  102. "_components": [
  103. {
  104. "__id__": 6
  105. }
  106. ],
  107. "_prefab": {
  108. "__id__": 7
  109. },
  110. "_opacity": 255,
  111. "_color": {
  112. "__type__": "cc.Color",
  113. "r": 23,
  114. "g": 23,
  115. "b": 23,
  116. "a": 255
  117. },
  118. "_contentSize": {
  119. "__type__": "cc.Size",
  120. "width": 64.46,
  121. "height": 63
  122. },
  123. "_anchorPoint": {
  124. "__type__": "cc.Vec2",
  125. "x": 0.5,
  126. "y": 0.5
  127. },
  128. "_trs": {
  129. "__type__": "TypedArray",
  130. "ctor": "Float64Array",
  131. "array": [
  132. 0,
  133. 0,
  134. 0,
  135. 0,
  136. 0,
  137. 0,
  138. 1,
  139. 1,
  140. 1,
  141. 1
  142. ]
  143. },
  144. "_eulerAngles": {
  145. "__type__": "cc.Vec3",
  146. "x": 0,
  147. "y": 0,
  148. "z": 0
  149. },
  150. "_skewX": 0,
  151. "_skewY": 0,
  152. "_is3DNode": false,
  153. "_groupIndex": 0,
  154. "groupIndex": 0,
  155. "_id": ""
  156. },
  157. {
  158. "__type__": "cc.PrivateNode",
  159. "_name": "RICHTEXT_CHILD",
  160. "_objFlags": 1024,
  161. "_parent": {
  162. "__id__": 2
  163. },
  164. "_children": [],
  165. "_active": true,
  166. "_components": [
  167. {
  168. "__id__": 4
  169. }
  170. ],
  171. "_prefab": {
  172. "__id__": 5
  173. },
  174. "_opacity": 255,
  175. "_color": {
  176. "__type__": "cc.Color",
  177. "r": 23,
  178. "g": 23,
  179. "b": 23,
  180. "a": 255
  181. },
  182. "_contentSize": {
  183. "__type__": "cc.Size",
  184. "width": 64.46,
  185. "height": 63
  186. },
  187. "_anchorPoint": {
  188. "__type__": "cc.Vec2",
  189. "x": 0,
  190. "y": 0
  191. },
  192. "_trs": {
  193. "__type__": "TypedArray",
  194. "ctor": "Float64Array",
  195. "array": [
  196. -32.23,
  197. -31.5,
  198. 0,
  199. 0,
  200. 0,
  201. 0,
  202. 1,
  203. 1,
  204. 1,
  205. 1
  206. ]
  207. },
  208. "_eulerAngles": {
  209. "__type__": "cc.Vec3",
  210. "x": 0,
  211. "y": 0,
  212. "z": 0
  213. },
  214. "_skewX": 0,
  215. "_skewY": 0,
  216. "_zIndex": -32768,
  217. "_is3DNode": false,
  218. "_groupIndex": 0,
  219. "groupIndex": 0,
  220. "showInEditor": false,
  221. "_id": ""
  222. },
  223. {
  224. "__type__": "cc.Label",
  225. "_name": "",
  226. "_objFlags": 0,
  227. "node": {
  228. "__id__": 3
  229. },
  230. "_enabled": true,
  231. "_materials": [
  232. {
  233. "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
  234. }
  235. ],
  236. "_useOriginalSize": true,
  237. "_string": "按钮A4",
  238. "_N$string": "按钮A4",
  239. "_fontSize": 20,
  240. "_lineHeight": 50,
  241. "_enableWrapText": true,
  242. "_N$file": {
  243. "__uuid__": "6e82bca4-2312-41ba-bf07-3e4065619cf9"
  244. },
  245. "_isSystemFontUsed": false,
  246. "_spacingX": 0,
  247. "_batchAsBitmap": false,
  248. "_N$horizontalAlign": 0,
  249. "_N$verticalAlign": 1,
  250. "_N$fontFamily": "Arial",
  251. "_N$overflow": 0,
  252. "_N$cacheMode": 0,
  253. "_id": ""
  254. },
  255. {
  256. "__type__": "cc.PrefabInfo",
  257. "root": {
  258. "__id__": 1
  259. },
  260. "asset": {
  261. "__uuid__": "70c10d96-b722-4529-ad32-7e83b733638f"
  262. },
  263. "fileId": "b1R3DcnhZGVY6TeNeDbsv4",
  264. "sync": false
  265. },
  266. {
  267. "__type__": "cc.RichText",
  268. "_name": "",
  269. "_objFlags": 0,
  270. "node": {
  271. "__id__": 2
  272. },
  273. "_enabled": true,
  274. "_fontFamily": "Arial",
  275. "_isSystemFontUsed": false,
  276. "_N$string": "按钮A4",
  277. "_N$horizontalAlign": 1,
  278. "_N$fontSize": 20,
  279. "_N$font": {
  280. "__uuid__": "6e82bca4-2312-41ba-bf07-3e4065619cf9"
  281. },
  282. "_N$maxWidth": 0,
  283. "_N$lineHeight": 50,
  284. "_N$imageAtlas": null,
  285. "_N$handleTouchEvent": true,
  286. "_id": ""
  287. },
  288. {
  289. "__type__": "cc.PrefabInfo",
  290. "root": {
  291. "__id__": 1
  292. },
  293. "asset": {
  294. "__uuid__": "70c10d96-b722-4529-ad32-7e83b733638f"
  295. },
  296. "fileId": "a2jgRf1slLZ5POlPS8G7DC",
  297. "sync": false
  298. },
  299. {
  300. "__type__": "cc.Sprite",
  301. "_name": "",
  302. "_objFlags": 0,
  303. "node": {
  304. "__id__": 1
  305. },
  306. "_enabled": true,
  307. "_materials": [
  308. {
  309. "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
  310. }
  311. ],
  312. "_srcBlendFactor": 770,
  313. "_dstBlendFactor": 771,
  314. "_spriteFrame": {
  315. "__uuid__": "0ffcadc4-e507-4e5d-b78b-c5040fb51c47"
  316. },
  317. "_type": 1,
  318. "_sizeMode": 0,
  319. "_fillType": 0,
  320. "_fillCenter": {
  321. "__type__": "cc.Vec2",
  322. "x": 0,
  323. "y": 0
  324. },
  325. "_fillStart": 0,
  326. "_fillRange": 0,
  327. "_isTrimmedMode": true,
  328. "_atlas": {
  329. "__uuid__": "3905bccb-bbf8-4db7-9c38-2343245ba06b"
  330. },
  331. "_id": ""
  332. },
  333. {
  334. "__type__": "cc.Button",
  335. "_name": "",
  336. "_objFlags": 0,
  337. "node": {
  338. "__id__": 1
  339. },
  340. "_enabled": true,
  341. "_normalMaterial": null,
  342. "_grayMaterial": null,
  343. "duration": 0.1,
  344. "zoomScale": 1.2,
  345. "clickEvents": [],
  346. "_N$interactable": true,
  347. "_N$enableAutoGrayEffect": true,
  348. "_N$transition": 1,
  349. "transition": 1,
  350. "_N$normalColor": {
  351. "__type__": "cc.Color",
  352. "r": 255,
  353. "g": 255,
  354. "b": 255,
  355. "a": 255
  356. },
  357. "_N$pressedColor": {
  358. "__type__": "cc.Color",
  359. "r": 155,
  360. "g": 155,
  361. "b": 155,
  362. "a": 255
  363. },
  364. "pressedColor": {
  365. "__type__": "cc.Color",
  366. "r": 155,
  367. "g": 155,
  368. "b": 155,
  369. "a": 255
  370. },
  371. "_N$hoverColor": {
  372. "__type__": "cc.Color",
  373. "r": 255,
  374. "g": 255,
  375. "b": 255,
  376. "a": 255
  377. },
  378. "hoverColor": {
  379. "__type__": "cc.Color",
  380. "r": 255,
  381. "g": 255,
  382. "b": 255,
  383. "a": 255
  384. },
  385. "_N$disabledColor": {
  386. "__type__": "cc.Color",
  387. "r": 255,
  388. "g": 255,
  389. "b": 255,
  390. "a": 255
  391. },
  392. "_N$normalSprite": {
  393. "__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
  394. },
  395. "_N$pressedSprite": {
  396. "__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
  397. },
  398. "pressedSprite": {
  399. "__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
  400. },
  401. "_N$hoverSprite": {
  402. "__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
  403. },
  404. "hoverSprite": {
  405. "__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
  406. },
  407. "_N$disabledSprite": {
  408. "__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
  409. },
  410. "_N$target": {
  411. "__id__": 1
  412. },
  413. "_id": ""
  414. },
  415. {
  416. "__type__": "e4f5d8RjqtEt7DmSwWW+VtU",
  417. "_name": "",
  418. "_objFlags": 0,
  419. "node": {
  420. "__id__": 1
  421. },
  422. "_enabled": true,
  423. "_id": ""
  424. },
  425. {
  426. "__type__": "70a2bJBRohCmqgoC/xm65fj",
  427. "_name": "",
  428. "_objFlags": 0,
  429. "node": {
  430. "__id__": 1
  431. },
  432. "_enabled": true,
  433. "spriteNameFormat": "btn_label_a4_%s",
  434. "button": {
  435. "__id__": 9
  436. },
  437. "sprite": {
  438. "__id__": 8
  439. },
  440. "label": {
  441. "__id__": 6
  442. },
  443. "spriteAtlas": {
  444. "__uuid__": "3905bccb-bbf8-4db7-9c38-2343245ba06b"
  445. },
  446. "_buttonType": 1,
  447. "_interactable": true,
  448. "_title": "按钮A4",
  449. "_disabledTitle": "",
  450. "_id": ""
  451. },
  452. {
  453. "__type__": "cc.PrefabInfo",
  454. "root": {
  455. "__id__": 1
  456. },
  457. "asset": {
  458. "__uuid__": "70c10d96-b722-4529-ad32-7e83b733638f"
  459. },
  460. "fileId": "9cTOnujqxHmrAvc4DPHzhJ",
  461. "sync": false
  462. }
  463. ]