ShortcutWidget.prefab 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621
  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": "ShortcutWidget",
  16. "_objFlags": 0,
  17. "_parent": null,
  18. "_children": [
  19. {
  20. "__id__": 2
  21. }
  22. ],
  23. "_active": true,
  24. "_level": 1,
  25. "_components": [
  26. {
  27. "__id__": 15
  28. },
  29. {
  30. "__id__": 16
  31. }
  32. ],
  33. "_prefab": {
  34. "__id__": 17
  35. },
  36. "_opacity": 255,
  37. "_color": {
  38. "__type__": "cc.Color",
  39. "r": 255,
  40. "g": 255,
  41. "b": 255,
  42. "a": 255
  43. },
  44. "_contentSize": {
  45. "__type__": "cc.Size",
  46. "width": 204,
  47. "height": 194
  48. },
  49. "_anchorPoint": {
  50. "__type__": "cc.Vec2",
  51. "x": 0.5,
  52. "y": 0.5
  53. },
  54. "_quat": {
  55. "__type__": "cc.Quat",
  56. "x": 0,
  57. "y": 0,
  58. "z": 0,
  59. "w": 1
  60. },
  61. "_skewX": 0,
  62. "_skewY": 0,
  63. "groupIndex": 0,
  64. "_id": "",
  65. "_trs": {
  66. "__type__": "TypedArray",
  67. "ctor": "Float64Array",
  68. "array": [
  69. 396,
  70. 650,
  71. 0,
  72. 0,
  73. 0,
  74. 0,
  75. 1,
  76. 1,
  77. 1,
  78. 1
  79. ]
  80. }
  81. },
  82. {
  83. "__type__": "cc.Node",
  84. "_name": "Panel",
  85. "_objFlags": 0,
  86. "_parent": {
  87. "__id__": 1
  88. },
  89. "_children": [
  90. {
  91. "__id__": 3
  92. },
  93. {
  94. "__id__": 11
  95. }
  96. ],
  97. "_active": true,
  98. "_level": 2,
  99. "_components": [],
  100. "_prefab": {
  101. "__id__": 14
  102. },
  103. "_opacity": 255,
  104. "_color": {
  105. "__type__": "cc.Color",
  106. "r": 255,
  107. "g": 255,
  108. "b": 255,
  109. "a": 255
  110. },
  111. "_contentSize": {
  112. "__type__": "cc.Size",
  113. "width": 0,
  114. "height": 0
  115. },
  116. "_anchorPoint": {
  117. "__type__": "cc.Vec2",
  118. "x": 0.5,
  119. "y": 0.5
  120. },
  121. "_quat": {
  122. "__type__": "cc.Quat",
  123. "x": 0,
  124. "y": 0,
  125. "z": 0,
  126. "w": 1
  127. },
  128. "_skewX": 0,
  129. "_skewY": 0,
  130. "groupIndex": 0,
  131. "_id": "",
  132. "_trs": {
  133. "__type__": "TypedArray",
  134. "ctor": "Float64Array",
  135. "array": [
  136. 0,
  137. 0,
  138. 0,
  139. 0,
  140. 0,
  141. 0,
  142. 1,
  143. 1,
  144. 1,
  145. 1
  146. ]
  147. }
  148. },
  149. {
  150. "__type__": "cc.Node",
  151. "_name": "Btn_Shortcut",
  152. "_objFlags": 0,
  153. "_parent": {
  154. "__id__": 2
  155. },
  156. "_children": [
  157. {
  158. "__id__": 4
  159. }
  160. ],
  161. "_active": true,
  162. "_level": 3,
  163. "_components": [
  164. {
  165. "__id__": 8
  166. }
  167. ],
  168. "_prefab": {
  169. "__id__": 10
  170. },
  171. "_opacity": 255,
  172. "_color": {
  173. "__type__": "cc.Color",
  174. "r": 255,
  175. "g": 255,
  176. "b": 255,
  177. "a": 255
  178. },
  179. "_contentSize": {
  180. "__type__": "cc.Size",
  181. "width": 204,
  182. "height": 194
  183. },
  184. "_anchorPoint": {
  185. "__type__": "cc.Vec2",
  186. "x": 0.5,
  187. "y": 0.5
  188. },
  189. "_quat": {
  190. "__type__": "cc.Quat",
  191. "x": 0,
  192. "y": 0,
  193. "z": 0,
  194. "w": 1
  195. },
  196. "_skewX": 0,
  197. "_skewY": 0,
  198. "groupIndex": 0,
  199. "_id": "",
  200. "_trs": {
  201. "__type__": "TypedArray",
  202. "ctor": "Float64Array",
  203. "array": [
  204. 0,
  205. 0,
  206. 0,
  207. 0,
  208. 0,
  209. 0,
  210. 1,
  211. 1,
  212. 1,
  213. 1
  214. ]
  215. }
  216. },
  217. {
  218. "__type__": "cc.Node",
  219. "_name": "Background",
  220. "_objFlags": 0,
  221. "_parent": {
  222. "__id__": 3
  223. },
  224. "_children": [],
  225. "_active": true,
  226. "_level": 2,
  227. "_components": [
  228. {
  229. "__id__": 5
  230. },
  231. {
  232. "__id__": 6
  233. }
  234. ],
  235. "_prefab": {
  236. "__id__": 7
  237. },
  238. "_opacity": 255,
  239. "_color": {
  240. "__type__": "cc.Color",
  241. "r": 255,
  242. "g": 255,
  243. "b": 255,
  244. "a": 255
  245. },
  246. "_contentSize": {
  247. "__type__": "cc.Size",
  248. "width": 204,
  249. "height": 194
  250. },
  251. "_anchorPoint": {
  252. "__type__": "cc.Vec2",
  253. "x": 0.5,
  254. "y": 0.5
  255. },
  256. "_quat": {
  257. "__type__": "cc.Quat",
  258. "x": 0,
  259. "y": 0,
  260. "z": 0,
  261. "w": 1
  262. },
  263. "_skewX": 0,
  264. "_skewY": 0,
  265. "groupIndex": 0,
  266. "_id": "",
  267. "_trs": {
  268. "__type__": "TypedArray",
  269. "ctor": "Float64Array",
  270. "array": [
  271. 0,
  272. 0,
  273. 0,
  274. 0,
  275. 0,
  276. 0,
  277. 1,
  278. 1,
  279. 1,
  280. 1
  281. ]
  282. }
  283. },
  284. {
  285. "__type__": "cc.Sprite",
  286. "_name": "",
  287. "_objFlags": 0,
  288. "node": {
  289. "__id__": 4
  290. },
  291. "_enabled": true,
  292. "_spriteFrame": {
  293. "__uuid__": "646889f5-55ab-4724-b591-f1ef91e19cfd"
  294. },
  295. "_type": 1,
  296. "_sizeMode": 0,
  297. "_fillType": 0,
  298. "_fillCenter": {
  299. "__type__": "cc.Vec2",
  300. "x": 0,
  301. "y": 0
  302. },
  303. "_fillStart": 0,
  304. "_fillRange": 0,
  305. "_isTrimmedMode": true,
  306. "_state": 0,
  307. "_atlas": {
  308. "__uuid__": "eaa6c9f5-9685-45dc-94b4-02b40ba68ee0"
  309. },
  310. "_srcBlendFactor": 770,
  311. "_dstBlendFactor": 771,
  312. "_id": ""
  313. },
  314. {
  315. "__type__": "cc.Widget",
  316. "_name": "",
  317. "_objFlags": 0,
  318. "node": {
  319. "__id__": 4
  320. },
  321. "_enabled": true,
  322. "alignMode": 0,
  323. "_target": null,
  324. "_alignFlags": 45,
  325. "_left": 0,
  326. "_right": 0,
  327. "_top": 0,
  328. "_bottom": 0,
  329. "_verticalCenter": 0,
  330. "_horizontalCenter": 0,
  331. "_isAbsLeft": true,
  332. "_isAbsRight": true,
  333. "_isAbsTop": true,
  334. "_isAbsBottom": true,
  335. "_isAbsHorizontalCenter": true,
  336. "_isAbsVerticalCenter": true,
  337. "_originalWidth": 100,
  338. "_originalHeight": 40,
  339. "_id": ""
  340. },
  341. {
  342. "__type__": "cc.PrefabInfo",
  343. "root": {
  344. "__id__": 1
  345. },
  346. "asset": {
  347. "__uuid__": "2c3b9275-526c-4a42-bc9d-ab37d38792bc"
  348. },
  349. "fileId": "47HfLv3xBAkI9Jy1WOR81Q",
  350. "sync": false
  351. },
  352. {
  353. "__type__": "cc.Button",
  354. "_name": "",
  355. "_objFlags": 0,
  356. "node": {
  357. "__id__": 3
  358. },
  359. "_enabled": true,
  360. "duration": 0.1,
  361. "zoomScale": 1.2,
  362. "clickEvents": [
  363. {
  364. "__id__": 9
  365. }
  366. ],
  367. "_N$interactable": true,
  368. "_N$enableAutoGrayEffect": false,
  369. "_N$transition": 1,
  370. "transition": 1,
  371. "_N$normalColor": {
  372. "__type__": "cc.Color",
  373. "r": 255,
  374. "g": 255,
  375. "b": 255,
  376. "a": 255
  377. },
  378. "_N$pressedColor": {
  379. "__type__": "cc.Color",
  380. "r": 200,
  381. "g": 200,
  382. "b": 200,
  383. "a": 255
  384. },
  385. "pressedColor": {
  386. "__type__": "cc.Color",
  387. "r": 200,
  388. "g": 200,
  389. "b": 200,
  390. "a": 255
  391. },
  392. "_N$hoverColor": {
  393. "__type__": "cc.Color",
  394. "r": 255,
  395. "g": 255,
  396. "b": 255,
  397. "a": 255
  398. },
  399. "hoverColor": {
  400. "__type__": "cc.Color",
  401. "r": 255,
  402. "g": 255,
  403. "b": 255,
  404. "a": 255
  405. },
  406. "_N$disabledColor": {
  407. "__type__": "cc.Color",
  408. "r": 255,
  409. "g": 255,
  410. "b": 255,
  411. "a": 255
  412. },
  413. "_N$normalSprite": {
  414. "__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
  415. },
  416. "_N$pressedSprite": {
  417. "__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
  418. },
  419. "pressedSprite": {
  420. "__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
  421. },
  422. "_N$hoverSprite": {
  423. "__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
  424. },
  425. "hoverSprite": {
  426. "__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
  427. },
  428. "_N$disabledSprite": {
  429. "__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
  430. },
  431. "_N$target": {
  432. "__id__": 4
  433. },
  434. "_id": ""
  435. },
  436. {
  437. "__type__": "cc.ClickEvent",
  438. "target": {
  439. "__id__": 1
  440. },
  441. "component": "",
  442. "_componentId": "8491fv6UfpAeK3G0lwwfFJo",
  443. "handler": "onBtnClickHandler",
  444. "customEventData": ""
  445. },
  446. {
  447. "__type__": "cc.PrefabInfo",
  448. "root": {
  449. "__id__": 1
  450. },
  451. "asset": {
  452. "__uuid__": "2c3b9275-526c-4a42-bc9d-ab37d38792bc"
  453. },
  454. "fileId": "e0SSd7mYtGjLcdwccsa+BG",
  455. "sync": false
  456. },
  457. {
  458. "__type__": "cc.Node",
  459. "_name": "handImg",
  460. "_objFlags": 0,
  461. "_parent": {
  462. "__id__": 2
  463. },
  464. "_children": [],
  465. "_active": true,
  466. "_level": 3,
  467. "_components": [
  468. {
  469. "__id__": 12
  470. }
  471. ],
  472. "_prefab": {
  473. "__id__": 13
  474. },
  475. "_opacity": 255,
  476. "_color": {
  477. "__type__": "cc.Color",
  478. "r": 255,
  479. "g": 255,
  480. "b": 255,
  481. "a": 255
  482. },
  483. "_contentSize": {
  484. "__type__": "cc.Size",
  485. "width": 90,
  486. "height": 115
  487. },
  488. "_anchorPoint": {
  489. "__type__": "cc.Vec2",
  490. "x": 0.5,
  491. "y": 0.5
  492. },
  493. "_quat": {
  494. "__type__": "cc.Quat",
  495. "x": 0,
  496. "y": 0,
  497. "z": 0,
  498. "w": 1
  499. },
  500. "_skewX": 0,
  501. "_skewY": 0,
  502. "groupIndex": 0,
  503. "_id": "",
  504. "_trs": {
  505. "__type__": "TypedArray",
  506. "ctor": "Float64Array",
  507. "array": [
  508. 0,
  509. -120,
  510. 0,
  511. 0,
  512. 0,
  513. 0,
  514. 1,
  515. 1,
  516. 1,
  517. 1
  518. ]
  519. }
  520. },
  521. {
  522. "__type__": "cc.Sprite",
  523. "_name": "",
  524. "_objFlags": 0,
  525. "node": {
  526. "__id__": 11
  527. },
  528. "_enabled": true,
  529. "_spriteFrame": {
  530. "__uuid__": "c591c1e9-0484-42bd-a5a7-e5ac185e903f"
  531. },
  532. "_type": 0,
  533. "_sizeMode": 1,
  534. "_fillType": 0,
  535. "_fillCenter": {
  536. "__type__": "cc.Vec2",
  537. "x": 0,
  538. "y": 0
  539. },
  540. "_fillStart": 0,
  541. "_fillRange": 0,
  542. "_isTrimmedMode": true,
  543. "_state": 0,
  544. "_atlas": {
  545. "__uuid__": "eaa6c9f5-9685-45dc-94b4-02b40ba68ee0"
  546. },
  547. "_srcBlendFactor": 770,
  548. "_dstBlendFactor": 771,
  549. "_id": ""
  550. },
  551. {
  552. "__type__": "cc.PrefabInfo",
  553. "root": {
  554. "__id__": 1
  555. },
  556. "asset": {
  557. "__uuid__": "2c3b9275-526c-4a42-bc9d-ab37d38792bc"
  558. },
  559. "fileId": "91y9vLjf1J9412JUltlSHY",
  560. "sync": false
  561. },
  562. {
  563. "__type__": "cc.PrefabInfo",
  564. "root": {
  565. "__id__": 1
  566. },
  567. "asset": {
  568. "__uuid__": "2c3b9275-526c-4a42-bc9d-ab37d38792bc"
  569. },
  570. "fileId": "fem+izFB5Onp/XKANV9N0F",
  571. "sync": false
  572. },
  573. {
  574. "__type__": "8491fv6UfpAeK3G0lwwfFJo",
  575. "_name": "",
  576. "_objFlags": 0,
  577. "node": {
  578. "__id__": 1
  579. },
  580. "_enabled": true,
  581. "_id": ""
  582. },
  583. {
  584. "__type__": "cc.Widget",
  585. "_name": "",
  586. "_objFlags": 0,
  587. "node": {
  588. "__id__": 1
  589. },
  590. "_enabled": true,
  591. "alignMode": 1,
  592. "_target": null,
  593. "_alignFlags": 0,
  594. "_left": 0,
  595. "_right": 0,
  596. "_top": 0,
  597. "_bottom": 0,
  598. "_verticalCenter": 0,
  599. "_horizontalCenter": 0,
  600. "_isAbsLeft": true,
  601. "_isAbsRight": true,
  602. "_isAbsTop": true,
  603. "_isAbsBottom": true,
  604. "_isAbsHorizontalCenter": true,
  605. "_isAbsVerticalCenter": true,
  606. "_originalWidth": 0,
  607. "_originalHeight": 0,
  608. "_id": ""
  609. },
  610. {
  611. "__type__": "cc.PrefabInfo",
  612. "root": {
  613. "__id__": 1
  614. },
  615. "asset": {
  616. "__uuid__": "2c3b9275-526c-4a42-bc9d-ab37d38792bc"
  617. },
  618. "fileId": "64GdQb5EtC24ihCVHTEPL5",
  619. "sync": false
  620. }
  621. ]