toggle.prefab 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331
  1. [
  2. {
  3. "__type__": "cc.Prefab",
  4. "_name": "",
  5. "_objFlags": 0,
  6. "_native": "",
  7. "data": {
  8. "__id__": 1
  9. }
  10. },
  11. {
  12. "__type__": "cc.Node",
  13. "_name": "toggle",
  14. "_objFlags": 0,
  15. "_parent": null,
  16. "_children": [
  17. {
  18. "__id__": 2
  19. },
  20. {
  21. "__id__": 5
  22. }
  23. ],
  24. "_tag": -1,
  25. "_active": true,
  26. "_components": [
  27. {
  28. "__id__": 8
  29. }
  30. ],
  31. "_prefab": {
  32. "__id__": 9
  33. },
  34. "_id": "",
  35. "_opacity": 255,
  36. "_color": {
  37. "__type__": "cc.Color",
  38. "r": 255,
  39. "g": 255,
  40. "b": 255,
  41. "a": 255
  42. },
  43. "_cascadeOpacityEnabled": true,
  44. "_anchorPoint": {
  45. "__type__": "cc.Vec2",
  46. "x": 0.5,
  47. "y": 0.5
  48. },
  49. "_contentSize": {
  50. "__type__": "cc.Size",
  51. "width": 28,
  52. "height": 28
  53. },
  54. "_scaleX": 1,
  55. "_scaleY": 1,
  56. "_position": {
  57. "__type__": "cc.Vec2",
  58. "x": 0,
  59. "y": 0
  60. },
  61. "_skewX": 0,
  62. "_skewY": 0,
  63. "_localZOrder": 0,
  64. "_globalZOrder": 0,
  65. "_opacityModifyRGB": false,
  66. "groupIndex": 0,
  67. "_eulerAngles": {
  68. "__type__": "cc.Vec3",
  69. "x": 0,
  70. "y": 0,
  71. "z": 0
  72. }
  73. },
  74. {
  75. "__type__": "cc.Node",
  76. "_name": "Background",
  77. "_objFlags": 0,
  78. "_parent": {
  79. "__id__": 1
  80. },
  81. "_children": [],
  82. "_tag": -1,
  83. "_active": true,
  84. "_components": [
  85. {
  86. "__id__": 3
  87. }
  88. ],
  89. "_prefab": {
  90. "__id__": 4
  91. },
  92. "_id": "",
  93. "_opacity": 255,
  94. "_color": {
  95. "__type__": "cc.Color",
  96. "r": 255,
  97. "g": 255,
  98. "b": 255,
  99. "a": 255
  100. },
  101. "_cascadeOpacityEnabled": true,
  102. "_anchorPoint": {
  103. "__type__": "cc.Vec2",
  104. "x": 0.5,
  105. "y": 0.5
  106. },
  107. "_contentSize": {
  108. "__type__": "cc.Size",
  109. "width": 28,
  110. "height": 28
  111. },
  112. "_scaleX": 1,
  113. "_scaleY": 1,
  114. "_position": {
  115. "__type__": "cc.Vec2",
  116. "x": 0,
  117. "y": 0
  118. },
  119. "_skewX": 0,
  120. "_skewY": 0,
  121. "_localZOrder": 0,
  122. "_globalZOrder": 0,
  123. "_opacityModifyRGB": false,
  124. "groupIndex": 0,
  125. "_eulerAngles": {
  126. "__type__": "cc.Vec3",
  127. "x": 0,
  128. "y": 0,
  129. "z": 0
  130. }
  131. },
  132. {
  133. "__type__": "cc.Sprite",
  134. "_name": "",
  135. "_objFlags": 0,
  136. "node": {
  137. "__id__": 2
  138. },
  139. "_enabled": true,
  140. "_spriteFrame": {
  141. "__uuid__": "6827ca32-0107-4552-bab2-dfb31799bb44"
  142. },
  143. "_type": 0,
  144. "_sizeMode": 1,
  145. "_fillType": 0,
  146. "_fillCenter": {
  147. "__type__": "cc.Vec2",
  148. "x": 0,
  149. "y": 0
  150. },
  151. "_fillStart": 0,
  152. "_fillRange": 0,
  153. "_isTrimmedMode": true,
  154. "_srcBlendFactor": 770,
  155. "_dstBlendFactor": 771,
  156. "_atlas": null
  157. },
  158. {
  159. "__type__": "cc.PrefabInfo",
  160. "root": {
  161. "__id__": 1
  162. },
  163. "asset": {
  164. "__uuid__": "0d784963-d024-4ea6-a7db-03be0ad63010"
  165. },
  166. "fileId": "238bacn/jZGGYuFN7ndSzkO",
  167. "sync": false
  168. },
  169. {
  170. "__type__": "cc.Node",
  171. "_name": "checkmark",
  172. "_objFlags": 0,
  173. "_parent": {
  174. "__id__": 1
  175. },
  176. "_children": [],
  177. "_tag": -1,
  178. "_active": true,
  179. "_components": [
  180. {
  181. "__id__": 6
  182. }
  183. ],
  184. "_prefab": {
  185. "__id__": 7
  186. },
  187. "_id": "",
  188. "_opacity": 255,
  189. "_color": {
  190. "__type__": "cc.Color",
  191. "r": 255,
  192. "g": 255,
  193. "b": 255,
  194. "a": 255
  195. },
  196. "_cascadeOpacityEnabled": true,
  197. "_anchorPoint": {
  198. "__type__": "cc.Vec2",
  199. "x": 0.5,
  200. "y": 0.5
  201. },
  202. "_contentSize": {
  203. "__type__": "cc.Size",
  204. "width": 28,
  205. "height": 28
  206. },
  207. "_scaleX": 1,
  208. "_scaleY": 1,
  209. "_position": {
  210. "__type__": "cc.Vec2",
  211. "x": 0,
  212. "y": 0
  213. },
  214. "_skewX": 0,
  215. "_skewY": 0,
  216. "_localZOrder": 0,
  217. "_globalZOrder": 0,
  218. "_opacityModifyRGB": false,
  219. "groupIndex": 0,
  220. "_eulerAngles": {
  221. "__type__": "cc.Vec3",
  222. "x": 0,
  223. "y": 0,
  224. "z": 0
  225. }
  226. },
  227. {
  228. "__type__": "cc.Sprite",
  229. "_name": "",
  230. "_objFlags": 0,
  231. "node": {
  232. "__id__": 5
  233. },
  234. "_enabled": true,
  235. "_spriteFrame": {
  236. "__uuid__": "90004ad6-2f6d-40e1-93ef-b714375c6f06"
  237. },
  238. "_type": 0,
  239. "_sizeMode": 2,
  240. "_fillType": 0,
  241. "_fillCenter": {
  242. "__type__": "cc.Vec2",
  243. "x": 0,
  244. "y": 0
  245. },
  246. "_fillStart": 0,
  247. "_fillRange": 0,
  248. "_isTrimmedMode": false,
  249. "_srcBlendFactor": 770,
  250. "_dstBlendFactor": 771,
  251. "_atlas": null
  252. },
  253. {
  254. "__type__": "cc.PrefabInfo",
  255. "root": {
  256. "__id__": 1
  257. },
  258. "asset": {
  259. "__uuid__": "0d784963-d024-4ea6-a7db-03be0ad63010"
  260. },
  261. "fileId": "0d447hRg/9AuLVwR7+lDw/1",
  262. "sync": false
  263. },
  264. {
  265. "__type__": "cc.Toggle",
  266. "_name": "",
  267. "_objFlags": 0,
  268. "node": {
  269. "__id__": 1
  270. },
  271. "_enabled": true,
  272. "transition": 3,
  273. "pressedColor": {
  274. "__type__": "cc.Color",
  275. "r": 211,
  276. "g": 211,
  277. "b": 211,
  278. "a": 255
  279. },
  280. "hoverColor": {
  281. "__type__": "cc.Color",
  282. "r": 255,
  283. "g": 255,
  284. "b": 255,
  285. "a": 255
  286. },
  287. "duration": 0.1,
  288. "zoomScale": 1.2,
  289. "pressedSprite": null,
  290. "hoverSprite": null,
  291. "clickEvents": [],
  292. "_N$interactable": true,
  293. "_N$enableAutoGrayEffect": false,
  294. "_N$normalColor": {
  295. "__type__": "cc.Color",
  296. "r": 214,
  297. "g": 214,
  298. "b": 214,
  299. "a": 255
  300. },
  301. "_N$disabledColor": {
  302. "__type__": "cc.Color",
  303. "r": 124,
  304. "g": 124,
  305. "b": 124,
  306. "a": 255
  307. },
  308. "_N$normalSprite": null,
  309. "_N$disabledSprite": null,
  310. "_N$target": {
  311. "__id__": 2
  312. },
  313. "toggleGroup": null,
  314. "checkMark": {
  315. "__id__": 6
  316. },
  317. "checkEvents": [],
  318. "_N$isChecked": true
  319. },
  320. {
  321. "__type__": "cc.PrefabInfo",
  322. "root": {
  323. "__id__": 1
  324. },
  325. "asset": {
  326. "__uuid__": "0d784963-d024-4ea6-a7db-03be0ad63010"
  327. },
  328. "fileId": "3d81aISgHdGFblE/PZD2Cp3",
  329. "sync": false
  330. }
  331. ]