PageButton.prefab 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  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": "PageButton",
  17. "_objFlags": 0,
  18. "_parent": null,
  19. "_children": [
  20. {
  21. "__id__": 2
  22. }
  23. ],
  24. "_active": true,
  25. "_components": [
  26. {
  27. "__id__": 5
  28. }
  29. ],
  30. "_prefab": {
  31. "__id__": 6
  32. },
  33. "_opacity": 255,
  34. "_color": {
  35. "__type__": "cc.Color",
  36. "r": 255,
  37. "g": 255,
  38. "b": 255,
  39. "a": 255
  40. },
  41. "_contentSize": {
  42. "__type__": "cc.Size",
  43. "width": 50,
  44. "height": 50
  45. },
  46. "_anchorPoint": {
  47. "__type__": "cc.Vec2",
  48. "x": 0.5,
  49. "y": 0.5
  50. },
  51. "_trs": {
  52. "__type__": "TypedArray",
  53. "ctor": "Float64Array",
  54. "array": [
  55. 25,
  56. 0.523,
  57. 0,
  58. 0,
  59. 0,
  60. 0,
  61. 1,
  62. 1,
  63. 1,
  64. 1
  65. ]
  66. },
  67. "_eulerAngles": {
  68. "__type__": "cc.Vec3",
  69. "x": 0,
  70. "y": 0,
  71. "z": 0
  72. },
  73. "_skewX": 0,
  74. "_skewY": 0,
  75. "_is3DNode": false,
  76. "_groupIndex": 0,
  77. "groupIndex": 0,
  78. "_id": ""
  79. },
  80. {
  81. "__type__": "cc.Node",
  82. "_name": "Label",
  83. "_objFlags": 0,
  84. "_parent": {
  85. "__id__": 1
  86. },
  87. "_children": [],
  88. "_active": true,
  89. "_components": [
  90. {
  91. "__id__": 3
  92. }
  93. ],
  94. "_prefab": {
  95. "__id__": 4
  96. },
  97. "_opacity": 255,
  98. "_color": {
  99. "__type__": "cc.Color",
  100. "r": 0,
  101. "g": 0,
  102. "b": 0,
  103. "a": 255
  104. },
  105. "_contentSize": {
  106. "__type__": "cc.Size",
  107. "width": 100,
  108. "height": 40
  109. },
  110. "_anchorPoint": {
  111. "__type__": "cc.Vec2",
  112. "x": 0.5,
  113. "y": 0.5
  114. },
  115. "_trs": {
  116. "__type__": "TypedArray",
  117. "ctor": "Float64Array",
  118. "array": [
  119. 0,
  120. 0,
  121. 0,
  122. 0,
  123. 0,
  124. 0,
  125. 1,
  126. 1,
  127. 1,
  128. 1
  129. ]
  130. },
  131. "_eulerAngles": {
  132. "__type__": "cc.Vec3",
  133. "x": 0,
  134. "y": 0,
  135. "z": 0
  136. },
  137. "_skewX": 0,
  138. "_skewY": 0,
  139. "_is3DNode": false,
  140. "_groupIndex": 0,
  141. "groupIndex": 0,
  142. "_id": ""
  143. },
  144. {
  145. "__type__": "cc.Label",
  146. "_name": "",
  147. "_objFlags": 0,
  148. "node": {
  149. "__id__": 2
  150. },
  151. "_enabled": true,
  152. "_materials": [
  153. {
  154. "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
  155. }
  156. ],
  157. "_srcBlendFactor": 770,
  158. "_dstBlendFactor": 771,
  159. "_string": "1",
  160. "_N$string": "1",
  161. "_fontSize": 30,
  162. "_lineHeight": 0,
  163. "_enableWrapText": false,
  164. "_N$file": null,
  165. "_isSystemFontUsed": true,
  166. "_spacingX": 0,
  167. "_batchAsBitmap": false,
  168. "_styleFlags": 0,
  169. "_underlineHeight": 0,
  170. "_N$horizontalAlign": 1,
  171. "_N$verticalAlign": 1,
  172. "_N$fontFamily": "Arial",
  173. "_N$overflow": 1,
  174. "_N$cacheMode": 1,
  175. "_id": ""
  176. },
  177. {
  178. "__type__": "cc.PrefabInfo",
  179. "root": {
  180. "__id__": 1
  181. },
  182. "asset": {
  183. "__id__": 0
  184. },
  185. "fileId": "532ej/KV9I6Y8w3dLiTy6C",
  186. "sync": false
  187. },
  188. {
  189. "__type__": "cc.Button",
  190. "_name": "",
  191. "_objFlags": 0,
  192. "node": {
  193. "__id__": 1
  194. },
  195. "_enabled": true,
  196. "_normalMaterial": null,
  197. "_grayMaterial": null,
  198. "duration": 0.1,
  199. "zoomScale": 1.2,
  200. "clickEvents": [],
  201. "_N$interactable": true,
  202. "_N$enableAutoGrayEffect": false,
  203. "_N$transition": 0,
  204. "transition": 0,
  205. "_N$normalColor": {
  206. "__type__": "cc.Color",
  207. "r": 230,
  208. "g": 230,
  209. "b": 230,
  210. "a": 255
  211. },
  212. "_N$pressedColor": {
  213. "__type__": "cc.Color",
  214. "r": 200,
  215. "g": 200,
  216. "b": 200,
  217. "a": 255
  218. },
  219. "pressedColor": {
  220. "__type__": "cc.Color",
  221. "r": 200,
  222. "g": 200,
  223. "b": 200,
  224. "a": 255
  225. },
  226. "_N$hoverColor": {
  227. "__type__": "cc.Color",
  228. "r": 255,
  229. "g": 255,
  230. "b": 255,
  231. "a": 255
  232. },
  233. "hoverColor": {
  234. "__type__": "cc.Color",
  235. "r": 255,
  236. "g": 255,
  237. "b": 255,
  238. "a": 255
  239. },
  240. "_N$disabledColor": {
  241. "__type__": "cc.Color",
  242. "r": 120,
  243. "g": 120,
  244. "b": 120,
  245. "a": 200
  246. },
  247. "_N$normalSprite": {
  248. "__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
  249. },
  250. "_N$pressedSprite": {
  251. "__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
  252. },
  253. "pressedSprite": {
  254. "__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
  255. },
  256. "_N$hoverSprite": {
  257. "__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
  258. },
  259. "hoverSprite": {
  260. "__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
  261. },
  262. "_N$disabledSprite": {
  263. "__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
  264. },
  265. "_N$target": null,
  266. "_id": ""
  267. },
  268. {
  269. "__type__": "cc.PrefabInfo",
  270. "root": {
  271. "__id__": 1
  272. },
  273. "asset": {
  274. "__id__": 0
  275. },
  276. "fileId": "",
  277. "sync": false
  278. }
  279. ]