PrepareUI.prefab 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705
  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": "PrepareUI",
  16. "_objFlags": 0,
  17. "_parent": null,
  18. "_children": [
  19. {
  20. "__id__": 2
  21. },
  22. {
  23. "__id__": 6
  24. }
  25. ],
  26. "_active": true,
  27. "_components": [
  28. {
  29. "__id__": 20
  30. },
  31. {
  32. "__id__": 21
  33. },
  34. {
  35. "__id__": 22
  36. }
  37. ],
  38. "_prefab": {
  39. "__id__": 23
  40. },
  41. "_lpos": {
  42. "__type__": "cc.Vec3",
  43. "x": 0,
  44. "y": 0,
  45. "z": 0
  46. },
  47. "_lrot": {
  48. "__type__": "cc.Quat",
  49. "x": 0,
  50. "y": 0,
  51. "z": 0,
  52. "w": 1
  53. },
  54. "_lscale": {
  55. "__type__": "cc.Vec3",
  56. "x": 1,
  57. "y": 1,
  58. "z": 1
  59. },
  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": "Design",
  72. "_objFlags": 0,
  73. "_parent": {
  74. "__id__": 1
  75. },
  76. "_children": [],
  77. "_active": false,
  78. "_components": [
  79. {
  80. "__id__": 3
  81. },
  82. {
  83. "__id__": 4
  84. }
  85. ],
  86. "_prefab": {
  87. "__id__": 5
  88. },
  89. "_lpos": {
  90. "__type__": "cc.Vec3",
  91. "x": 0,
  92. "y": 0,
  93. "z": 0
  94. },
  95. "_lrot": {
  96. "__type__": "cc.Quat",
  97. "x": 0,
  98. "y": 0,
  99. "z": 0,
  100. "w": 1
  101. },
  102. "_lscale": {
  103. "__type__": "cc.Vec3",
  104. "x": 1,
  105. "y": 1,
  106. "z": 1
  107. },
  108. "_layer": 33554432,
  109. "_euler": {
  110. "__type__": "cc.Vec3",
  111. "x": 0,
  112. "y": 0,
  113. "z": 0
  114. },
  115. "_id": ""
  116. },
  117. {
  118. "__type__": "cc.UITransformComponent",
  119. "_name": "",
  120. "_objFlags": 0,
  121. "node": {
  122. "__id__": 2
  123. },
  124. "_enabled": true,
  125. "_priority": 0,
  126. "_contentSize": {
  127. "__type__": "cc.Size",
  128. "width": 750,
  129. "height": 1334
  130. },
  131. "_anchorPoint": {
  132. "__type__": "cc.Vec2",
  133. "x": 0.5,
  134. "y": 0.5
  135. },
  136. "_id": ""
  137. },
  138. {
  139. "__type__": "cc.SpriteComponent",
  140. "_name": "",
  141. "_objFlags": 0,
  142. "node": {
  143. "__id__": 2
  144. },
  145. "_enabled": true,
  146. "_srcBlendFactor": 2,
  147. "_dstBlendFactor": 4,
  148. "_color": {
  149. "__type__": "cc.Color",
  150. "r": 255,
  151. "g": 255,
  152. "b": 255,
  153. "a": 255
  154. },
  155. "_sharedMaterial": null,
  156. "_spriteFrame": {
  157. "__uuid__": "b9fb4561-ccbd-440a-83ad-332355b1d525@f9941"
  158. },
  159. "_type": 0,
  160. "_fillType": 0,
  161. "_sizeMode": 1,
  162. "_fillCenter": {
  163. "__type__": "cc.Vec2",
  164. "x": 0,
  165. "y": 0
  166. },
  167. "_fillStart": 0,
  168. "_fillRange": 0,
  169. "_isTrimmedMode": true,
  170. "_useGrayscale": false,
  171. "_atlas": null,
  172. "_id": ""
  173. },
  174. {
  175. "__type__": "cc.PrefabInfo",
  176. "root": {
  177. "__id__": 1
  178. },
  179. "asset": {
  180. "__id__": 0
  181. },
  182. "fileId": "0ecneocDlDu4A6HIPyM7zo",
  183. "sync": false,
  184. "_synced": {
  185. "default": false,
  186. "serializable": false
  187. }
  188. },
  189. {
  190. "__type__": "cc.Node",
  191. "_name": "StartGameButton",
  192. "_objFlags": 0,
  193. "_parent": {
  194. "__id__": 1
  195. },
  196. "_children": [
  197. {
  198. "__id__": 7
  199. },
  200. {
  201. "__id__": 11
  202. }
  203. ],
  204. "_active": true,
  205. "_components": [
  206. {
  207. "__id__": 15
  208. },
  209. {
  210. "__id__": 16
  211. },
  212. {
  213. "__id__": 17
  214. }
  215. ],
  216. "_prefab": {
  217. "__id__": 19
  218. },
  219. "_lpos": {
  220. "__type__": "cc.Vec3",
  221. "x": -0.07799999999997453,
  222. "y": 125.32399999999996,
  223. "z": 0
  224. },
  225. "_lrot": {
  226. "__type__": "cc.Quat",
  227. "x": 0,
  228. "y": 0,
  229. "z": 0,
  230. "w": 1
  231. },
  232. "_lscale": {
  233. "__type__": "cc.Vec3",
  234. "x": 1,
  235. "y": 1,
  236. "z": 1
  237. },
  238. "_layer": 33554432,
  239. "_euler": {
  240. "__type__": "cc.Vec3",
  241. "x": 0,
  242. "y": 0,
  243. "z": 0
  244. },
  245. "_id": ""
  246. },
  247. {
  248. "__type__": "cc.Node",
  249. "_name": "Label",
  250. "_objFlags": 0,
  251. "_parent": {
  252. "__id__": 6
  253. },
  254. "_children": [],
  255. "_active": true,
  256. "_components": [
  257. {
  258. "__id__": 8
  259. },
  260. {
  261. "__id__": 9
  262. }
  263. ],
  264. "_prefab": {
  265. "__id__": 10
  266. },
  267. "_lpos": {
  268. "__type__": "cc.Vec3",
  269. "x": 0,
  270. "y": 20.047,
  271. "z": 0
  272. },
  273. "_lrot": {
  274. "__type__": "cc.Quat",
  275. "x": 0,
  276. "y": 0,
  277. "z": 0,
  278. "w": 1
  279. },
  280. "_lscale": {
  281. "__type__": "cc.Vec3",
  282. "x": 1,
  283. "y": 1,
  284. "z": 1
  285. },
  286. "_layer": 33554432,
  287. "_euler": {
  288. "__type__": "cc.Vec3",
  289. "x": 0,
  290. "y": 0,
  291. "z": 0
  292. },
  293. "_id": ""
  294. },
  295. {
  296. "__type__": "cc.UITransformComponent",
  297. "_name": "Label<UITransformComponent>",
  298. "_objFlags": 0,
  299. "node": {
  300. "__id__": 7
  301. },
  302. "_enabled": true,
  303. "_priority": 0,
  304. "_contentSize": {
  305. "__type__": "cc.Size",
  306. "width": 206,
  307. "height": 57
  308. },
  309. "_anchorPoint": {
  310. "__type__": "cc.Vec2",
  311. "x": 0.5,
  312. "y": 0.5
  313. },
  314. "_id": ""
  315. },
  316. {
  317. "__type__": "cc.LabelComponent",
  318. "_name": "Label<LabelComponent>",
  319. "_objFlags": 0,
  320. "node": {
  321. "__id__": 7
  322. },
  323. "_enabled": true,
  324. "_srcBlendFactor": 2,
  325. "_dstBlendFactor": 4,
  326. "_color": {
  327. "__type__": "cc.Color",
  328. "r": 255,
  329. "g": 255,
  330. "b": 255,
  331. "a": 255
  332. },
  333. "_sharedMaterial": null,
  334. "_useOriginalSize": true,
  335. "_string": "开始游戏",
  336. "_horizontalAlign": 1,
  337. "_verticalAlign": 1,
  338. "_actualFontSize": 40,
  339. "_fontSize": 40,
  340. "_fontFamily": "Arial",
  341. "_lineHeight": 40,
  342. "_overflow": 1,
  343. "_enableWrapText": false,
  344. "_font": null,
  345. "_isSystemFontUsed": true,
  346. "_isItalic": false,
  347. "_isBold": false,
  348. "_isUnderline": false,
  349. "_cacheMode": 0,
  350. "_id": ""
  351. },
  352. {
  353. "__type__": "cc.PrefabInfo",
  354. "root": {
  355. "__id__": 1
  356. },
  357. "asset": {
  358. "__id__": 0
  359. },
  360. "fileId": "a5UZh69z5J3I+XgBQBFgUC",
  361. "sync": false,
  362. "_synced": {
  363. "default": false,
  364. "serializable": false
  365. }
  366. },
  367. {
  368. "__type__": "cc.Node",
  369. "_name": "LevelLabel",
  370. "_objFlags": 0,
  371. "_parent": {
  372. "__id__": 6
  373. },
  374. "_children": [],
  375. "_active": true,
  376. "_components": [
  377. {
  378. "__id__": 12
  379. },
  380. {
  381. "__id__": 13
  382. }
  383. ],
  384. "_prefab": {
  385. "__id__": 14
  386. },
  387. "_lpos": {
  388. "__type__": "cc.Vec3",
  389. "x": 0,
  390. "y": -25.393,
  391. "z": 0
  392. },
  393. "_lrot": {
  394. "__type__": "cc.Quat",
  395. "x": 0,
  396. "y": 0,
  397. "z": 0,
  398. "w": 1
  399. },
  400. "_lscale": {
  401. "__type__": "cc.Vec3",
  402. "x": 1,
  403. "y": 1,
  404. "z": 1
  405. },
  406. "_layer": 33554432,
  407. "_euler": {
  408. "__type__": "cc.Vec3",
  409. "x": 0,
  410. "y": 0,
  411. "z": 0
  412. },
  413. "_id": ""
  414. },
  415. {
  416. "__type__": "cc.UITransformComponent",
  417. "_name": "",
  418. "_objFlags": 0,
  419. "node": {
  420. "__id__": 11
  421. },
  422. "_enabled": true,
  423. "_priority": 0,
  424. "_contentSize": {
  425. "__type__": "cc.Size",
  426. "width": 90,
  427. "height": 50.4
  428. },
  429. "_anchorPoint": {
  430. "__type__": "cc.Vec2",
  431. "x": 0.5,
  432. "y": 0.5
  433. },
  434. "_id": ""
  435. },
  436. {
  437. "__type__": "cc.LabelComponent",
  438. "_name": "",
  439. "_objFlags": 0,
  440. "node": {
  441. "__id__": 11
  442. },
  443. "_enabled": true,
  444. "_srcBlendFactor": 2,
  445. "_dstBlendFactor": 4,
  446. "_color": {
  447. "__type__": "cc.Color",
  448. "r": 255,
  449. "g": 255,
  450. "b": 255,
  451. "a": 255
  452. },
  453. "_sharedMaterial": null,
  454. "_useOriginalSize": true,
  455. "_string": "第一关",
  456. "_horizontalAlign": 1,
  457. "_verticalAlign": 1,
  458. "_actualFontSize": 30,
  459. "_fontSize": 30,
  460. "_fontFamily": "Arial",
  461. "_lineHeight": 40,
  462. "_overflow": 0,
  463. "_enableWrapText": true,
  464. "_font": null,
  465. "_isSystemFontUsed": true,
  466. "_isItalic": false,
  467. "_isBold": false,
  468. "_isUnderline": false,
  469. "_cacheMode": 0,
  470. "_id": ""
  471. },
  472. {
  473. "__type__": "cc.PrefabInfo",
  474. "root": {
  475. "__id__": 1
  476. },
  477. "asset": {
  478. "__id__": 0
  479. },
  480. "fileId": "9e/M9MQz5GPJ5wkdWVRkzT",
  481. "sync": false,
  482. "_synced": {
  483. "default": false,
  484. "serializable": false
  485. }
  486. },
  487. {
  488. "__type__": "cc.UITransformComponent",
  489. "_name": "",
  490. "_objFlags": 0,
  491. "node": {
  492. "__id__": 6
  493. },
  494. "_enabled": true,
  495. "_priority": 0,
  496. "_contentSize": {
  497. "__type__": "cc.Size",
  498. "width": 327,
  499. "height": 137
  500. },
  501. "_anchorPoint": {
  502. "__type__": "cc.Vec2",
  503. "x": 0.5,
  504. "y": 0.5
  505. },
  506. "_id": ""
  507. },
  508. {
  509. "__type__": "cc.SpriteComponent",
  510. "_name": "",
  511. "_objFlags": 0,
  512. "node": {
  513. "__id__": 6
  514. },
  515. "_enabled": true,
  516. "_srcBlendFactor": 2,
  517. "_dstBlendFactor": 4,
  518. "_color": {
  519. "__type__": "cc.Color",
  520. "r": 255,
  521. "g": 255,
  522. "b": 255,
  523. "a": 255
  524. },
  525. "_sharedMaterial": null,
  526. "_spriteFrame": {
  527. "__uuid__": "3bfc8929-26a4-4b30-b54a-8ae3dc61f4a7@f9941"
  528. },
  529. "_type": 1,
  530. "_fillType": 0,
  531. "_sizeMode": 0,
  532. "_fillCenter": {
  533. "__type__": "cc.Vec2",
  534. "x": 0,
  535. "y": 0
  536. },
  537. "_fillStart": 0,
  538. "_fillRange": 0,
  539. "_isTrimmedMode": true,
  540. "_useGrayscale": false,
  541. "_atlas": null,
  542. "_id": ""
  543. },
  544. {
  545. "__type__": "cc.ButtonComponent",
  546. "_name": "",
  547. "_objFlags": 0,
  548. "node": {
  549. "__id__": 6
  550. },
  551. "_enabled": true,
  552. "clickEvents": [
  553. {
  554. "__id__": 18
  555. }
  556. ],
  557. "_interactable": true,
  558. "_transition": 2,
  559. "_normalColor": {
  560. "__type__": "cc.Color",
  561. "r": 214,
  562. "g": 214,
  563. "b": 214,
  564. "a": 255
  565. },
  566. "_hoverColor": {
  567. "__type__": "cc.Color",
  568. "r": 211,
  569. "g": 211,
  570. "b": 211,
  571. "a": 255
  572. },
  573. "_pressColor": {
  574. "__type__": "cc.Color",
  575. "r": 255,
  576. "g": 255,
  577. "b": 255,
  578. "a": 255
  579. },
  580. "_disabledColor": {
  581. "__type__": "cc.Color",
  582. "r": 124,
  583. "g": 124,
  584. "b": 124,
  585. "a": 255
  586. },
  587. "_normalSprite": {
  588. "__uuid__": "3bfc8929-26a4-4b30-b54a-8ae3dc61f4a7@f9941"
  589. },
  590. "_hoverSprite": {
  591. "__uuid__": "3bfc8929-26a4-4b30-b54a-8ae3dc61f4a7@f9941"
  592. },
  593. "_pressedSprite": {
  594. "__uuid__": "3bfc8929-26a4-4b30-b54a-8ae3dc61f4a7@f9941"
  595. },
  596. "_disabledSprite": {
  597. "__uuid__": "3bfc8929-26a4-4b30-b54a-8ae3dc61f4a7@f9941"
  598. },
  599. "_duration": 0.1,
  600. "_zoomScale": 1.2,
  601. "_target": {
  602. "__id__": 6
  603. },
  604. "_id": ""
  605. },
  606. {
  607. "__type__": "cc.ClickEvent",
  608. "target": {
  609. "__id__": 1
  610. },
  611. "component": "",
  612. "_componentId": "8fc93vzZ1xF6qpWn8Qq53+4",
  613. "handler": "StartGame",
  614. "customEventData": ""
  615. },
  616. {
  617. "__type__": "cc.PrefabInfo",
  618. "root": {
  619. "__id__": 1
  620. },
  621. "asset": {
  622. "__id__": 0
  623. },
  624. "fileId": "a9QMw5al5ANa8t9fMUxbRz",
  625. "sync": false,
  626. "_synced": {
  627. "default": false,
  628. "serializable": false
  629. }
  630. },
  631. {
  632. "__type__": "cc.UITransformComponent",
  633. "_name": "",
  634. "_objFlags": 0,
  635. "node": {
  636. "__id__": 1
  637. },
  638. "_enabled": true,
  639. "_priority": 0,
  640. "_contentSize": {
  641. "__type__": "cc.Size",
  642. "width": 750,
  643. "height": 1334
  644. },
  645. "_anchorPoint": {
  646. "__type__": "cc.Vec2",
  647. "x": 0.5,
  648. "y": 0.5
  649. },
  650. "_id": ""
  651. },
  652. {
  653. "__type__": "cc.WidgetComponent",
  654. "_name": "PrepareUI<WidgetComponent>",
  655. "_objFlags": 0,
  656. "node": {
  657. "__id__": 1
  658. },
  659. "_enabled": true,
  660. "_alignFlags": 45,
  661. "_target": null,
  662. "_left": 0,
  663. "_right": 0,
  664. "_top": 0,
  665. "_bottom": 0,
  666. "_horizontalCenter": 0,
  667. "_verticalCenter": 0,
  668. "_isAbsLeft": true,
  669. "_isAbsRight": true,
  670. "_isAbsTop": true,
  671. "_isAbsBottom": true,
  672. "_isAbsHorizontalCenter": true,
  673. "_isAbsVerticalCenter": true,
  674. "_originalWidth": 100,
  675. "_originalHeight": 100,
  676. "_alignMode": 2,
  677. "_lockFlags": 0,
  678. "_id": ""
  679. },
  680. {
  681. "__type__": "8fc93vzZ1xF6qpWn8Qq53+4",
  682. "_name": "",
  683. "_objFlags": 0,
  684. "node": {
  685. "__id__": 1
  686. },
  687. "_enabled": true,
  688. "_id": ""
  689. },
  690. {
  691. "__type__": "cc.PrefabInfo",
  692. "root": {
  693. "__id__": 1
  694. },
  695. "asset": {
  696. "__id__": 0
  697. },
  698. "fileId": "54NQB7OnVAirjVxHlFJxQM",
  699. "sync": false,
  700. "_synced": {
  701. "default": false,
  702. "serializable": false
  703. }
  704. }
  705. ]