demo.prefab 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. [
  2. {
  3. "__type__": "cc.Prefab",
  4. "_name": "demo",
  5. "_objFlags": 0,
  6. "_native": "",
  7. "data": {
  8. "__id__": 1
  9. },
  10. "optimizationPolicy": 0,
  11. "persistent": false,
  12. "asyncLoadAssets": false
  13. },
  14. {
  15. "__type__": "cc.Node",
  16. "_name": "demo",
  17. "_objFlags": 0,
  18. "__editorExtras__": {},
  19. "_parent": null,
  20. "_children": [
  21. {
  22. "__id__": 2
  23. }
  24. ],
  25. "_active": true,
  26. "_components": [
  27. {
  28. "__id__": 8
  29. },
  30. {
  31. "__id__": 10
  32. }
  33. ],
  34. "_prefab": {
  35. "__id__": 12
  36. },
  37. "_lpos": {
  38. "__type__": "cc.Vec3",
  39. "x": 0,
  40. "y": 0,
  41. "z": 0
  42. },
  43. "_lrot": {
  44. "__type__": "cc.Quat",
  45. "x": 0,
  46. "y": 0,
  47. "z": 0,
  48. "w": 1
  49. },
  50. "_lscale": {
  51. "__type__": "cc.Vec3",
  52. "x": 1,
  53. "y": 1,
  54. "z": 1
  55. },
  56. "_layer": 33554432,
  57. "_euler": {
  58. "__type__": "cc.Vec3",
  59. "x": 0,
  60. "y": 0,
  61. "z": 0
  62. },
  63. "_id": ""
  64. },
  65. {
  66. "__type__": "cc.Node",
  67. "_name": "Label",
  68. "_objFlags": 0,
  69. "_parent": {
  70. "__id__": 1
  71. },
  72. "_children": [],
  73. "_active": true,
  74. "_components": [
  75. {
  76. "__id__": 3
  77. },
  78. {
  79. "__id__": 5
  80. }
  81. ],
  82. "_prefab": {
  83. "__id__": 7
  84. },
  85. "_lpos": {
  86. "__type__": "cc.Vec3",
  87. "x": 0,
  88. "y": 0,
  89. "z": 0
  90. },
  91. "_lrot": {
  92. "__type__": "cc.Quat",
  93. "x": 0,
  94. "y": 0,
  95. "z": 0,
  96. "w": 1
  97. },
  98. "_lscale": {
  99. "__type__": "cc.Vec3",
  100. "x": 1,
  101. "y": 1,
  102. "z": 1
  103. },
  104. "_layer": 33554432,
  105. "_euler": {
  106. "__type__": "cc.Vec3",
  107. "x": 0,
  108. "y": 0,
  109. "z": 0
  110. },
  111. "_id": ""
  112. },
  113. {
  114. "__type__": "cc.UITransform",
  115. "_name": "",
  116. "_objFlags": 0,
  117. "node": {
  118. "__id__": 2
  119. },
  120. "_enabled": true,
  121. "__prefab": {
  122. "__id__": 4
  123. },
  124. "_contentSize": {
  125. "__type__": "cc.Size",
  126. "width": 280,
  127. "height": 50.4
  128. },
  129. "_anchorPoint": {
  130. "__type__": "cc.Vec2",
  131. "x": 0.5,
  132. "y": 0.5
  133. },
  134. "_id": ""
  135. },
  136. {
  137. "__type__": "cc.CompPrefabInfo",
  138. "fileId": "8cipMYj4xDm5jqsrnQfJCt"
  139. },
  140. {
  141. "__type__": "cc.Label",
  142. "_name": "",
  143. "_objFlags": 0,
  144. "node": {
  145. "__id__": 2
  146. },
  147. "_enabled": true,
  148. "__prefab": {
  149. "__id__": 6
  150. },
  151. "_customMaterial": null,
  152. "_srcBlendFactor": 2,
  153. "_dstBlendFactor": 4,
  154. "_color": {
  155. "__type__": "cc.Color",
  156. "r": 255,
  157. "g": 255,
  158. "b": 255,
  159. "a": 255
  160. },
  161. "_string": "自定义游戏内容",
  162. "_horizontalAlign": 1,
  163. "_verticalAlign": 1,
  164. "_actualFontSize": 40,
  165. "_fontSize": 40,
  166. "_fontFamily": "Arial",
  167. "_lineHeight": 40,
  168. "_overflow": 0,
  169. "_enableWrapText": true,
  170. "_font": null,
  171. "_isSystemFontUsed": true,
  172. "_spacingX": 0,
  173. "_isItalic": false,
  174. "_isBold": true,
  175. "_isUnderline": false,
  176. "_underlineHeight": 2,
  177. "_cacheMode": 0,
  178. "_id": ""
  179. },
  180. {
  181. "__type__": "cc.CompPrefabInfo",
  182. "fileId": "14G1IpRKxDhIK/DMxZWnuV"
  183. },
  184. {
  185. "__type__": "cc.PrefabInfo",
  186. "root": {
  187. "__id__": 1
  188. },
  189. "asset": {
  190. "__id__": 0
  191. },
  192. "fileId": "6a9gw+XudGXJukdnHVeT/r"
  193. },
  194. {
  195. "__type__": "cc.UITransform",
  196. "_name": "",
  197. "_objFlags": 0,
  198. "node": {
  199. "__id__": 1
  200. },
  201. "_enabled": true,
  202. "__prefab": {
  203. "__id__": 9
  204. },
  205. "_contentSize": {
  206. "__type__": "cc.Size",
  207. "width": 1200,
  208. "height": 720
  209. },
  210. "_anchorPoint": {
  211. "__type__": "cc.Vec2",
  212. "x": 0.5,
  213. "y": 0.5
  214. },
  215. "_id": ""
  216. },
  217. {
  218. "__type__": "cc.CompPrefabInfo",
  219. "fileId": "f3S89pdJhH/4R5JY+TQ4fe"
  220. },
  221. {
  222. "__type__": "cc.Widget",
  223. "_name": "",
  224. "_objFlags": 0,
  225. "node": {
  226. "__id__": 1
  227. },
  228. "_enabled": true,
  229. "__prefab": {
  230. "__id__": 11
  231. },
  232. "_alignFlags": 45,
  233. "_target": null,
  234. "_left": 0,
  235. "_right": 0,
  236. "_top": 0,
  237. "_bottom": 0,
  238. "_horizontalCenter": 0,
  239. "_verticalCenter": 0,
  240. "_isAbsLeft": true,
  241. "_isAbsRight": true,
  242. "_isAbsTop": true,
  243. "_isAbsBottom": true,
  244. "_isAbsHorizontalCenter": true,
  245. "_isAbsVerticalCenter": true,
  246. "_originalWidth": 100,
  247. "_originalHeight": 100,
  248. "_alignMode": 2,
  249. "_lockFlags": 0,
  250. "_id": ""
  251. },
  252. {
  253. "__type__": "cc.CompPrefabInfo",
  254. "fileId": "a9Eh9hnWBPCZvjFwuFLNVw"
  255. },
  256. {
  257. "__type__": "cc.PrefabInfo",
  258. "root": {
  259. "__id__": 1
  260. },
  261. "asset": {
  262. "__id__": 0
  263. },
  264. "fileId": "65vUmrMQhG97zCh9KMiuDH"
  265. }
  266. ]