toast.prefab 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  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": "Toast",
  17. "_objFlags": 0,
  18. "_parent": null,
  19. "_children": [
  20. {
  21. "__id__": 2
  22. }
  23. ],
  24. "_active": true,
  25. "_components": [
  26. {
  27. "__id__": 6
  28. },
  29. {
  30. "__id__": 7
  31. },
  32. {
  33. "__id__": 8
  34. },
  35. {
  36. "__id__": 9
  37. }
  38. ],
  39. "_prefab": {
  40. "__id__": 10
  41. },
  42. "_opacity": 0,
  43. "_color": {
  44. "__type__": "cc.Color",
  45. "r": 218,
  46. "g": 180,
  47. "b": 28,
  48. "a": 255
  49. },
  50. "_contentSize": {
  51. "__type__": "cc.Size",
  52. "width": 60,
  53. "height": 74.1
  54. },
  55. "_anchorPoint": {
  56. "__type__": "cc.Vec2",
  57. "x": 0.34,
  58. "y": 0.39
  59. },
  60. "_trs": {
  61. "__type__": "TypedArray",
  62. "ctor": "Float64Array",
  63. "array": [
  64. 365.4,
  65. 926.849,
  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. "_zIndex": 0,
  85. "_is3DNode": false,
  86. "_groupIndex": 3,
  87. "groupIndex": 3,
  88. "_id": ""
  89. },
  90. {
  91. "__type__": "cc.Node",
  92. "_name": "Label",
  93. "_objFlags": 0,
  94. "_parent": {
  95. "__id__": 1
  96. },
  97. "_children": [],
  98. "_active": true,
  99. "_components": [
  100. {
  101. "__id__": 3
  102. },
  103. {
  104. "__id__": 4
  105. }
  106. ],
  107. "_prefab": {
  108. "__id__": 5
  109. },
  110. "_opacity": 255,
  111. "_color": {
  112. "__type__": "cc.Color",
  113. "r": 255,
  114. "g": 255,
  115. "b": 255,
  116. "a": 255
  117. },
  118. "_contentSize": {
  119. "__type__": "cc.Size",
  120. "width": 0,
  121. "height": 88.2
  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. 9.599999999999998,
  133. 8.150999999999998,
  134. 0,
  135. 0,
  136. 0,
  137. 0,
  138. 1,
  139. 0.5,
  140. 0.5,
  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. "_zIndex": 0,
  153. "_is3DNode": false,
  154. "_groupIndex": 0,
  155. "groupIndex": 0,
  156. "_id": ""
  157. },
  158. {
  159. "__type__": "cc.Label",
  160. "_name": "",
  161. "_objFlags": 0,
  162. "node": {
  163. "__id__": 2
  164. },
  165. "_enabled": true,
  166. "_materials": [
  167. {
  168. "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
  169. }
  170. ],
  171. "_srcBlendFactor": 1,
  172. "_dstBlendFactor": 771,
  173. "_string": "",
  174. "_N$string": "",
  175. "_fontSize": 50,
  176. "_lineHeight": 70,
  177. "_enableWrapText": true,
  178. "_N$file": null,
  179. "_isSystemFontUsed": true,
  180. "_spacingX": 0,
  181. "_batchAsBitmap": false,
  182. "_styleFlags": 0,
  183. "_underlineHeight": 0,
  184. "_N$horizontalAlign": 1,
  185. "_N$verticalAlign": 1,
  186. "_N$fontFamily": "Arial",
  187. "_N$overflow": 0,
  188. "_N$cacheMode": 0,
  189. "_id": ""
  190. },
  191. {
  192. "__type__": "cc.Widget",
  193. "_name": "",
  194. "_objFlags": 0,
  195. "node": {
  196. "__id__": 2
  197. },
  198. "_enabled": true,
  199. "alignMode": 0,
  200. "_target": null,
  201. "_alignFlags": 18,
  202. "_left": 0,
  203. "_right": 0,
  204. "_top": 0,
  205. "_bottom": 0,
  206. "_verticalCenter": 0,
  207. "_horizontalCenter": 0,
  208. "_isAbsLeft": true,
  209. "_isAbsRight": true,
  210. "_isAbsTop": true,
  211. "_isAbsBottom": true,
  212. "_isAbsHorizontalCenter": true,
  213. "_isAbsVerticalCenter": true,
  214. "_originalWidth": 0,
  215. "_originalHeight": 0,
  216. "_id": ""
  217. },
  218. {
  219. "__type__": "cc.PrefabInfo",
  220. "root": {
  221. "__id__": 1
  222. },
  223. "asset": {
  224. "__id__": 0
  225. },
  226. "fileId": "0aFHjaALhIZ6NumU2/6/Hy",
  227. "sync": false
  228. },
  229. {
  230. "__type__": "cc.Sprite",
  231. "_name": "",
  232. "_objFlags": 0,
  233. "node": {
  234. "__id__": 1
  235. },
  236. "_enabled": true,
  237. "_materials": [
  238. {
  239. "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
  240. }
  241. ],
  242. "_srcBlendFactor": 770,
  243. "_dstBlendFactor": 771,
  244. "_spriteFrame": {
  245. "__uuid__": "3e267748-12ab-410d-b3e1-cfab2a2be3cc"
  246. },
  247. "_type": 1,
  248. "_sizeMode": 0,
  249. "_fillType": 0,
  250. "_fillCenter": {
  251. "__type__": "cc.Vec2",
  252. "x": 0,
  253. "y": 0
  254. },
  255. "_fillStart": 0,
  256. "_fillRange": 0,
  257. "_isTrimmedMode": false,
  258. "_atlas": null,
  259. "_id": ""
  260. },
  261. {
  262. "__type__": "cc.Layout",
  263. "_name": "",
  264. "_objFlags": 0,
  265. "node": {
  266. "__id__": 1
  267. },
  268. "_enabled": true,
  269. "_layoutSize": {
  270. "__type__": "cc.Size",
  271. "width": 60,
  272. "height": 74.1
  273. },
  274. "_resize": 1,
  275. "_N$layoutType": 0,
  276. "_N$cellSize": {
  277. "__type__": "cc.Size",
  278. "width": 40,
  279. "height": 40
  280. },
  281. "_N$startAxis": 0,
  282. "_N$paddingLeft": 30,
  283. "_N$paddingRight": 30,
  284. "_N$paddingTop": 15,
  285. "_N$paddingBottom": 15,
  286. "_N$spacingX": 0,
  287. "_N$spacingY": 0,
  288. "_N$verticalDirection": 1,
  289. "_N$horizontalDirection": 0,
  290. "_N$affectedByScale": false,
  291. "_id": ""
  292. },
  293. {
  294. "__type__": "cc.Widget",
  295. "_name": "",
  296. "_objFlags": 0,
  297. "node": {
  298. "__id__": 1
  299. },
  300. "_enabled": true,
  301. "alignMode": 0,
  302. "_target": null,
  303. "_alignFlags": 18,
  304. "_left": 0,
  305. "_right": 0,
  306. "_top": 0,
  307. "_bottom": 0,
  308. "_verticalCenter": 268,
  309. "_horizontalCenter": 0,
  310. "_isAbsLeft": true,
  311. "_isAbsRight": true,
  312. "_isAbsTop": true,
  313. "_isAbsBottom": true,
  314. "_isAbsHorizontalCenter": true,
  315. "_isAbsVerticalCenter": true,
  316. "_originalWidth": 0,
  317. "_originalHeight": 0,
  318. "_id": ""
  319. },
  320. {
  321. "__type__": "6ce36IIpwBEXJjWzE5jwXSx",
  322. "_name": "",
  323. "_objFlags": 0,
  324. "node": {
  325. "__id__": 1
  326. },
  327. "_enabled": true,
  328. "label": {
  329. "__id__": 3
  330. },
  331. "_id": ""
  332. },
  333. {
  334. "__type__": "cc.PrefabInfo",
  335. "root": {
  336. "__id__": 1
  337. },
  338. "asset": {
  339. "__id__": 0
  340. },
  341. "fileId": "",
  342. "sync": false
  343. }
  344. ]