progressBar.prefab 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  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": "progressBar",
  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__": 5
  28. },
  29. {
  30. "__id__": 6
  31. }
  32. ],
  33. "_prefab": {
  34. "__id__": 7
  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": 300,
  47. "height": 15
  48. },
  49. "_anchorPoint": {
  50. "__type__": "cc.Vec2",
  51. "x": 0.5,
  52. "y": 0.5
  53. },
  54. "_position": {
  55. "__type__": "cc.Vec3",
  56. "x": 0,
  57. "y": 0,
  58. "z": 0
  59. },
  60. "_scale": {
  61. "__type__": "cc.Vec3",
  62. "x": 1,
  63. "y": 1,
  64. "z": 1
  65. },
  66. "_skewX": 0,
  67. "_skewY": 0,
  68. "groupIndex": 0,
  69. "_id": "",
  70. "_eulerAngles": {
  71. "__type__": "cc.Vec3",
  72. "x": 0,
  73. "y": 0,
  74. "z": 0
  75. }
  76. },
  77. {
  78. "__type__": "cc.Node",
  79. "_name": "bar",
  80. "_objFlags": 0,
  81. "_parent": {
  82. "__id__": 1
  83. },
  84. "_children": [],
  85. "_active": true,
  86. "_level": 0,
  87. "_components": [
  88. {
  89. "__id__": 3
  90. }
  91. ],
  92. "_prefab": {
  93. "__id__": 4
  94. },
  95. "_opacity": 255,
  96. "_color": {
  97. "__type__": "cc.Color",
  98. "r": 255,
  99. "g": 255,
  100. "b": 255,
  101. "a": 255
  102. },
  103. "_contentSize": {
  104. "__type__": "cc.Size",
  105. "width": 150,
  106. "height": 15
  107. },
  108. "_anchorPoint": {
  109. "__type__": "cc.Vec2",
  110. "x": 0,
  111. "y": 0.5
  112. },
  113. "_position": {
  114. "__type__": "cc.Vec3",
  115. "x": -150,
  116. "y": 0,
  117. "z": 0
  118. },
  119. "_scale": {
  120. "__type__": "cc.Vec3",
  121. "x": 1,
  122. "y": 1,
  123. "z": 1
  124. },
  125. "_skewX": 0,
  126. "_skewY": 0,
  127. "groupIndex": 0,
  128. "_id": "",
  129. "_eulerAngles": {
  130. "__type__": "cc.Vec3",
  131. "x": 0,
  132. "y": 0,
  133. "z": 0
  134. }
  135. },
  136. {
  137. "__type__": "cc.Sprite",
  138. "_name": "",
  139. "_objFlags": 0,
  140. "node": {
  141. "__id__": 2
  142. },
  143. "_enabled": true,
  144. "_srcBlendFactor": 770,
  145. "_dstBlendFactor": 771,
  146. "_spriteFrame": {
  147. "__uuid__": "67e68bc9-dad5-4ad9-a2d8-7e03d458e32f"
  148. },
  149. "_type": 1,
  150. "_sizeMode": 0,
  151. "_fillType": 0,
  152. "_fillCenter": {
  153. "__type__": "cc.Vec2",
  154. "x": 0,
  155. "y": 0
  156. },
  157. "_fillStart": 0,
  158. "_fillRange": 0,
  159. "_isTrimmedMode": true,
  160. "_state": 0,
  161. "_atlas": null,
  162. "_id": ""
  163. },
  164. {
  165. "__type__": "cc.PrefabInfo",
  166. "root": {
  167. "__id__": 1
  168. },
  169. "asset": {
  170. "__uuid__": "5965ffac-69da-4b55-bcde-9225d0613c28"
  171. },
  172. "fileId": "38d28QPqAdC1L4aQLAAwhV2",
  173. "sync": false
  174. },
  175. {
  176. "__type__": "cc.Sprite",
  177. "_name": "",
  178. "_objFlags": 0,
  179. "node": {
  180. "__id__": 1
  181. },
  182. "_enabled": true,
  183. "_srcBlendFactor": 770,
  184. "_dstBlendFactor": 771,
  185. "_spriteFrame": {
  186. "__uuid__": "88e79fd5-96b4-4a77-a1f4-312467171014"
  187. },
  188. "_type": 1,
  189. "_sizeMode": 0,
  190. "_fillType": 0,
  191. "_fillCenter": {
  192. "__type__": "cc.Vec2",
  193. "x": 0,
  194. "y": 0
  195. },
  196. "_fillStart": 0,
  197. "_fillRange": 0,
  198. "_isTrimmedMode": true,
  199. "_state": 0,
  200. "_atlas": null,
  201. "_id": ""
  202. },
  203. {
  204. "__type__": "cc.ProgressBar",
  205. "_name": "",
  206. "_objFlags": 0,
  207. "node": {
  208. "__id__": 1
  209. },
  210. "_enabled": true,
  211. "_N$totalLength": 300,
  212. "_N$barSprite": {
  213. "__id__": 3
  214. },
  215. "_N$mode": 0,
  216. "_N$progress": 0.5,
  217. "_N$reverse": false,
  218. "_id": ""
  219. },
  220. {
  221. "__type__": "cc.PrefabInfo",
  222. "root": {
  223. "__id__": 1
  224. },
  225. "asset": {
  226. "__uuid__": "5965ffac-69da-4b55-bcde-9225d0613c28"
  227. },
  228. "fileId": "c8bd6EVT6lD4bVMS1d/i0BC",
  229. "sync": false
  230. }
  231. ]