btn_red.prefab 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383
  1. [
  2. {
  3. "__type__": "cc.Prefab",
  4. "_name": "btn_red",
  5. "_objFlags": 0,
  6. "__editorExtras__": {},
  7. "_native": "",
  8. "data": {
  9. "__id__": 1
  10. },
  11. "optimizationPolicy": 0,
  12. "persistent": false
  13. },
  14. {
  15. "__type__": "cc.Node",
  16. "_name": "btn_red",
  17. "_objFlags": 0,
  18. "__editorExtras__": {},
  19. "_parent": null,
  20. "_children": [
  21. {
  22. "__id__": 2
  23. }
  24. ],
  25. "_active": true,
  26. "_components": [
  27. {
  28. "__id__": 8
  29. },
  30. {
  31. "__id__": 10
  32. },
  33. {
  34. "__id__": 12
  35. }
  36. ],
  37. "_prefab": {
  38. "__id__": 15
  39. },
  40. "_lpos": {
  41. "__type__": "cc.Vec3",
  42. "x": 180,
  43. "y": 0,
  44. "z": 0
  45. },
  46. "_lrot": {
  47. "__type__": "cc.Quat",
  48. "x": 0,
  49. "y": 0,
  50. "z": 0,
  51. "w": 1
  52. },
  53. "_lscale": {
  54. "__type__": "cc.Vec3",
  55. "x": 1,
  56. "y": 1,
  57. "z": 1
  58. },
  59. "_mobility": 0,
  60. "_layer": 33554432,
  61. "_euler": {
  62. "__type__": "cc.Vec3",
  63. "x": 0,
  64. "y": 0,
  65. "z": 0
  66. },
  67. "_id": ""
  68. },
  69. {
  70. "__type__": "cc.Node",
  71. "_name": "Label",
  72. "_objFlags": 0,
  73. "__editorExtras__": {},
  74. "_parent": {
  75. "__id__": 1
  76. },
  77. "_children": [],
  78. "_active": true,
  79. "_components": [
  80. {
  81. "__id__": 3
  82. },
  83. {
  84. "__id__": 5
  85. }
  86. ],
  87. "_prefab": {
  88. "__id__": 7
  89. },
  90. "_lpos": {
  91. "__type__": "cc.Vec3",
  92. "x": 0,
  93. "y": 0,
  94. "z": 0
  95. },
  96. "_lrot": {
  97. "__type__": "cc.Quat",
  98. "x": 0,
  99. "y": 0,
  100. "z": 0,
  101. "w": 1
  102. },
  103. "_lscale": {
  104. "__type__": "cc.Vec3",
  105. "x": 1,
  106. "y": 1,
  107. "z": 1
  108. },
  109. "_mobility": 0,
  110. "_layer": 33554432,
  111. "_euler": {
  112. "__type__": "cc.Vec3",
  113. "x": 0,
  114. "y": 0,
  115. "z": 0
  116. },
  117. "_id": ""
  118. },
  119. {
  120. "__type__": "cc.UITransform",
  121. "_name": "",
  122. "_objFlags": 0,
  123. "__editorExtras__": {},
  124. "node": {
  125. "__id__": 2
  126. },
  127. "_enabled": true,
  128. "__prefab": {
  129. "__id__": 4
  130. },
  131. "_contentSize": {
  132. "__type__": "cc.Size",
  133. "width": 83.9944857893319,
  134. "height": 54.39999999999999
  135. },
  136. "_anchorPoint": {
  137. "__type__": "cc.Vec2",
  138. "x": 0.5,
  139. "y": 0.5
  140. },
  141. "_id": ""
  142. },
  143. {
  144. "__type__": "cc.CompPrefabInfo",
  145. "fileId": "71oUtF52ZGE5TeT756iOGI"
  146. },
  147. {
  148. "__type__": "cc.Label",
  149. "_name": "",
  150. "_objFlags": 0,
  151. "__editorExtras__": {},
  152. "node": {
  153. "__id__": 2
  154. },
  155. "_enabled": true,
  156. "__prefab": {
  157. "__id__": 6
  158. },
  159. "_customMaterial": null,
  160. "_srcBlendFactor": 2,
  161. "_dstBlendFactor": 4,
  162. "_color": {
  163. "__type__": "cc.Color",
  164. "r": 0,
  165. "g": 0,
  166. "b": 0,
  167. "a": 255
  168. },
  169. "_string": "按钮",
  170. "_horizontalAlign": 1,
  171. "_verticalAlign": 1,
  172. "_actualFontSize": 48.33333333333333,
  173. "_fontSize": 40,
  174. "_fontFamily": "Arial",
  175. "_lineHeight": 40,
  176. "_overflow": 0,
  177. "_enableWrapText": true,
  178. "_font": null,
  179. "_isSystemFontUsed": true,
  180. "_spacingX": 0,
  181. "_isItalic": false,
  182. "_isBold": false,
  183. "_isUnderline": false,
  184. "_underlineHeight": 2,
  185. "_cacheMode": 0,
  186. "_enableOutline": true,
  187. "_outlineColor": {
  188. "__type__": "cc.Color",
  189. "r": 255,
  190. "g": 160,
  191. "b": 160,
  192. "a": 128
  193. },
  194. "_outlineWidth": 2,
  195. "_enableShadow": false,
  196. "_shadowColor": {
  197. "__type__": "cc.Color",
  198. "r": 0,
  199. "g": 0,
  200. "b": 0,
  201. "a": 255
  202. },
  203. "_shadowOffset": {
  204. "__type__": "cc.Vec2",
  205. "x": 2,
  206. "y": -4
  207. },
  208. "_shadowBlur": 5,
  209. "_id": ""
  210. },
  211. {
  212. "__type__": "cc.CompPrefabInfo",
  213. "fileId": "0900Nz/wZBEo8uIQCLdZAu"
  214. },
  215. {
  216. "__type__": "cc.PrefabInfo",
  217. "root": {
  218. "__id__": 1
  219. },
  220. "asset": {
  221. "__id__": 0
  222. },
  223. "fileId": "be2KTgyMdDIbh02Emj1+1r",
  224. "instance": null,
  225. "targetOverrides": null,
  226. "nestedPrefabInstanceRoots": null
  227. },
  228. {
  229. "__type__": "cc.UITransform",
  230. "_name": "",
  231. "_objFlags": 0,
  232. "__editorExtras__": {},
  233. "node": {
  234. "__id__": 1
  235. },
  236. "_enabled": true,
  237. "__prefab": {
  238. "__id__": 9
  239. },
  240. "_contentSize": {
  241. "__type__": "cc.Size",
  242. "width": 240,
  243. "height": 80
  244. },
  245. "_anchorPoint": {
  246. "__type__": "cc.Vec2",
  247. "x": 0.5,
  248. "y": 0.5
  249. },
  250. "_id": ""
  251. },
  252. {
  253. "__type__": "cc.CompPrefabInfo",
  254. "fileId": "75YryHyORPtp/gV9cOXzu3"
  255. },
  256. {
  257. "__type__": "cc.Sprite",
  258. "_name": "",
  259. "_objFlags": 0,
  260. "__editorExtras__": {},
  261. "node": {
  262. "__id__": 1
  263. },
  264. "_enabled": true,
  265. "__prefab": {
  266. "__id__": 11
  267. },
  268. "_customMaterial": null,
  269. "_srcBlendFactor": 2,
  270. "_dstBlendFactor": 4,
  271. "_color": {
  272. "__type__": "cc.Color",
  273. "r": 255,
  274. "g": 160,
  275. "b": 160,
  276. "a": 255
  277. },
  278. "_spriteFrame": {
  279. "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941",
  280. "__expectedType__": "cc.SpriteFrame"
  281. },
  282. "_type": 1,
  283. "_fillType": 0,
  284. "_sizeMode": 0,
  285. "_fillCenter": {
  286. "__type__": "cc.Vec2",
  287. "x": 0,
  288. "y": 0
  289. },
  290. "_fillStart": 0,
  291. "_fillRange": 0,
  292. "_isTrimmedMode": true,
  293. "_useGrayscale": false,
  294. "_atlas": null,
  295. "_id": ""
  296. },
  297. {
  298. "__type__": "cc.CompPrefabInfo",
  299. "fileId": "80ZfBeLx1LnpOFs7+cGorJ"
  300. },
  301. {
  302. "__type__": "cc.Button",
  303. "_name": "",
  304. "_objFlags": 0,
  305. "__editorExtras__": {},
  306. "node": {
  307. "__id__": 1
  308. },
  309. "_enabled": true,
  310. "__prefab": {
  311. "__id__": 13
  312. },
  313. "clickEvents": [
  314. {
  315. "__id__": 14
  316. }
  317. ],
  318. "_interactable": true,
  319. "_transition": 3,
  320. "_normalColor": {
  321. "__type__": "cc.Color",
  322. "r": 255,
  323. "g": 255,
  324. "b": 255,
  325. "a": 255
  326. },
  327. "_hoverColor": {
  328. "__type__": "cc.Color",
  329. "r": 211,
  330. "g": 211,
  331. "b": 211,
  332. "a": 255
  333. },
  334. "_pressedColor": {
  335. "__type__": "cc.Color",
  336. "r": 255,
  337. "g": 255,
  338. "b": 255,
  339. "a": 255
  340. },
  341. "_disabledColor": {
  342. "__type__": "cc.Color",
  343. "r": 124,
  344. "g": 124,
  345. "b": 124,
  346. "a": 255
  347. },
  348. "_normalSprite": null,
  349. "_hoverSprite": null,
  350. "_pressedSprite": null,
  351. "_disabledSprite": null,
  352. "_duration": 0.1,
  353. "_zoomScale": 1.2,
  354. "_target": {
  355. "__id__": 1
  356. },
  357. "_id": ""
  358. },
  359. {
  360. "__type__": "cc.CompPrefabInfo",
  361. "fileId": "aew6n30ChHUoiEPVWwDuJb"
  362. },
  363. {
  364. "__type__": "cc.ClickEvent",
  365. "target": null,
  366. "component": "",
  367. "_componentId": "",
  368. "handler": "",
  369. "customEventData": ""
  370. },
  371. {
  372. "__type__": "cc.PrefabInfo",
  373. "root": {
  374. "__id__": 1
  375. },
  376. "asset": {
  377. "__id__": 0
  378. },
  379. "fileId": "29creZUqRP8Irc5OiOKRoY",
  380. "instance": null,
  381. "targetOverrides": null
  382. }
  383. ]