editbox.prefab 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508
  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. "readonly": false
  13. },
  14. {
  15. "__type__": "cc.Node",
  16. "_name": "editbox",
  17. "_objFlags": 0,
  18. "_parent": null,
  19. "_children": [
  20. {
  21. "__id__": 2
  22. },
  23. {
  24. "__id__": 6
  25. },
  26. {
  27. "__id__": 10
  28. }
  29. ],
  30. "_active": true,
  31. "_level": 1,
  32. "_components": [
  33. {
  34. "__id__": 14
  35. }
  36. ],
  37. "_prefab": {
  38. "__id__": 15
  39. },
  40. "_opacity": 255,
  41. "_color": {
  42. "__type__": "cc.Color",
  43. "r": 255,
  44. "g": 255,
  45. "b": 255,
  46. "a": 255
  47. },
  48. "_contentSize": {
  49. "__type__": "cc.Size",
  50. "width": 160,
  51. "height": 40
  52. },
  53. "_anchorPoint": {
  54. "__type__": "cc.Vec2",
  55. "x": 0.5,
  56. "y": 0.5
  57. },
  58. "_position": {
  59. "__type__": "cc.Vec3",
  60. "x": 0,
  61. "y": 0,
  62. "z": 0
  63. },
  64. "_scale": {
  65. "__type__": "cc.Vec3",
  66. "x": 1,
  67. "y": 1,
  68. "z": 1
  69. },
  70. "_skewX": 0,
  71. "_skewY": 0,
  72. "_is3DNode": false,
  73. "groupIndex": 0,
  74. "_id": "",
  75. "_eulerAngles": {
  76. "__type__": "cc.Vec3",
  77. "x": 0,
  78. "y": 0,
  79. "z": 0
  80. }
  81. },
  82. {
  83. "__type__": "cc.Node",
  84. "_name": "BACKGROUND_SPRITE",
  85. "_objFlags": 0,
  86. "_parent": {
  87. "__id__": 1
  88. },
  89. "_children": [],
  90. "_active": true,
  91. "_level": 2,
  92. "_components": [
  93. {
  94. "__id__": 3
  95. },
  96. {
  97. "__id__": 4
  98. }
  99. ],
  100. "_prefab": {
  101. "__id__": 5
  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": 160,
  114. "height": 40
  115. },
  116. "_anchorPoint": {
  117. "__type__": "cc.Vec2",
  118. "x": 0.5,
  119. "y": 0.5
  120. },
  121. "_position": {
  122. "__type__": "cc.Vec3",
  123. "x": 0,
  124. "y": 0,
  125. "z": 0
  126. },
  127. "_scale": {
  128. "__type__": "cc.Vec3",
  129. "x": 1,
  130. "y": 1,
  131. "z": 1
  132. },
  133. "_skewX": 0,
  134. "_skewY": 0,
  135. "_is3DNode": false,
  136. "groupIndex": 0,
  137. "_id": "",
  138. "_eulerAngles": {
  139. "__type__": "cc.Vec3",
  140. "x": 0,
  141. "y": 0,
  142. "z": 0
  143. }
  144. },
  145. {
  146. "__type__": "cc.Sprite",
  147. "_name": "",
  148. "_objFlags": 0,
  149. "node": {
  150. "__id__": 2
  151. },
  152. "_enabled": true,
  153. "_materials": [],
  154. "_srcBlendFactor": 770,
  155. "_dstBlendFactor": 771,
  156. "_spriteFrame": {
  157. "__uuid__": "ff0e91c7-55c6-4086-a39f-cb6e457b8c3b"
  158. },
  159. "_type": 1,
  160. "_sizeMode": 0,
  161. "_fillType": 0,
  162. "_fillCenter": {
  163. "__type__": "cc.Vec2",
  164. "x": 0,
  165. "y": 0
  166. },
  167. "_fillStart": 0,
  168. "_fillRange": 0,
  169. "_isTrimmedMode": true,
  170. "_state": 0,
  171. "_atlas": null,
  172. "_id": ""
  173. },
  174. {
  175. "__type__": "cc.Widget",
  176. "_name": "",
  177. "_objFlags": 0,
  178. "node": {
  179. "__id__": 2
  180. },
  181. "_enabled": true,
  182. "alignMode": 0,
  183. "_target": null,
  184. "_alignFlags": 45,
  185. "_left": 0,
  186. "_right": 0,
  187. "_top": 0,
  188. "_bottom": 0,
  189. "_verticalCenter": 0,
  190. "_horizontalCenter": 0,
  191. "_isAbsLeft": true,
  192. "_isAbsRight": true,
  193. "_isAbsTop": true,
  194. "_isAbsBottom": true,
  195. "_isAbsHorizontalCenter": true,
  196. "_isAbsVerticalCenter": true,
  197. "_originalWidth": 160,
  198. "_originalHeight": 40,
  199. "_id": ""
  200. },
  201. {
  202. "__type__": "cc.PrefabInfo",
  203. "root": {
  204. "__id__": 1
  205. },
  206. "asset": {
  207. "__uuid__": "61aeb05b-3b32-452b-8eed-2b76deeed554"
  208. },
  209. "fileId": "fcoT9mL35BlLUlR0xQ5QBI",
  210. "sync": false
  211. },
  212. {
  213. "__type__": "cc.Node",
  214. "_name": "TEXT_LABEL",
  215. "_objFlags": 0,
  216. "_parent": {
  217. "__id__": 1
  218. },
  219. "_children": [],
  220. "_active": false,
  221. "_level": 2,
  222. "_components": [
  223. {
  224. "__id__": 7
  225. },
  226. {
  227. "__id__": 8
  228. }
  229. ],
  230. "_prefab": {
  231. "__id__": 9
  232. },
  233. "_opacity": 255,
  234. "_color": {
  235. "__type__": "cc.Color",
  236. "r": 255,
  237. "g": 255,
  238. "b": 255,
  239. "a": 255
  240. },
  241. "_contentSize": {
  242. "__type__": "cc.Size",
  243. "width": 158,
  244. "height": 40
  245. },
  246. "_anchorPoint": {
  247. "__type__": "cc.Vec2",
  248. "x": 0,
  249. "y": 1
  250. },
  251. "_position": {
  252. "__type__": "cc.Vec3",
  253. "x": -78,
  254. "y": 20,
  255. "z": 0
  256. },
  257. "_scale": {
  258. "__type__": "cc.Vec3",
  259. "x": 1,
  260. "y": 1,
  261. "z": 1
  262. },
  263. "_skewX": 0,
  264. "_skewY": 0,
  265. "_is3DNode": false,
  266. "groupIndex": 0,
  267. "_id": "",
  268. "_eulerAngles": {
  269. "__type__": "cc.Vec3",
  270. "x": 0,
  271. "y": 0,
  272. "z": 0
  273. }
  274. },
  275. {
  276. "__type__": "cc.Label",
  277. "_name": "",
  278. "_objFlags": 0,
  279. "node": {
  280. "__id__": 6
  281. },
  282. "_enabled": true,
  283. "_materials": [],
  284. "_useOriginalSize": true,
  285. "_string": "",
  286. "_N$string": "",
  287. "_fontSize": 20,
  288. "_lineHeight": 25,
  289. "_enableWrapText": false,
  290. "_N$file": null,
  291. "_isSystemFontUsed": true,
  292. "_spacingX": 0,
  293. "_batchAsBitmap": false,
  294. "_N$horizontalAlign": 0,
  295. "_N$verticalAlign": 1,
  296. "_N$fontFamily": "Arial",
  297. "_N$overflow": 1,
  298. "_N$cacheMode": 0,
  299. "_id": ""
  300. },
  301. {
  302. "__type__": "cc.Widget",
  303. "_name": "",
  304. "_objFlags": 0,
  305. "node": {
  306. "__id__": 6
  307. },
  308. "_enabled": true,
  309. "alignMode": 0,
  310. "_target": null,
  311. "_alignFlags": 45,
  312. "_left": 2,
  313. "_right": 0,
  314. "_top": 0,
  315. "_bottom": 0,
  316. "_verticalCenter": 0,
  317. "_horizontalCenter": 0,
  318. "_isAbsLeft": true,
  319. "_isAbsRight": true,
  320. "_isAbsTop": true,
  321. "_isAbsBottom": true,
  322. "_isAbsHorizontalCenter": true,
  323. "_isAbsVerticalCenter": true,
  324. "_originalWidth": 158,
  325. "_originalHeight": 40,
  326. "_id": ""
  327. },
  328. {
  329. "__type__": "cc.PrefabInfo",
  330. "root": {
  331. "__id__": 1
  332. },
  333. "asset": {
  334. "__uuid__": "61aeb05b-3b32-452b-8eed-2b76deeed554"
  335. },
  336. "fileId": "0blsIXU11M95uloDvhs/X9",
  337. "sync": false
  338. },
  339. {
  340. "__type__": "cc.Node",
  341. "_name": "PLACEHOLDER_LABEL",
  342. "_objFlags": 0,
  343. "_parent": {
  344. "__id__": 1
  345. },
  346. "_children": [],
  347. "_active": true,
  348. "_level": 2,
  349. "_components": [
  350. {
  351. "__id__": 11
  352. },
  353. {
  354. "__id__": 12
  355. }
  356. ],
  357. "_prefab": {
  358. "__id__": 13
  359. },
  360. "_opacity": 255,
  361. "_color": {
  362. "__type__": "cc.Color",
  363. "r": 187,
  364. "g": 187,
  365. "b": 187,
  366. "a": 255
  367. },
  368. "_contentSize": {
  369. "__type__": "cc.Size",
  370. "width": 158,
  371. "height": 40
  372. },
  373. "_anchorPoint": {
  374. "__type__": "cc.Vec2",
  375. "x": 0,
  376. "y": 1
  377. },
  378. "_position": {
  379. "__type__": "cc.Vec3",
  380. "x": -78,
  381. "y": 20,
  382. "z": 0
  383. },
  384. "_scale": {
  385. "__type__": "cc.Vec3",
  386. "x": 1,
  387. "y": 1,
  388. "z": 1
  389. },
  390. "_skewX": 0,
  391. "_skewY": 0,
  392. "_is3DNode": false,
  393. "groupIndex": 0,
  394. "_id": "",
  395. "_eulerAngles": {
  396. "__type__": "cc.Vec3",
  397. "x": 0,
  398. "y": 0,
  399. "z": 0
  400. }
  401. },
  402. {
  403. "__type__": "cc.Label",
  404. "_name": "",
  405. "_objFlags": 0,
  406. "node": {
  407. "__id__": 10
  408. },
  409. "_enabled": true,
  410. "_materials": [],
  411. "_useOriginalSize": true,
  412. "_string": "Enter text here...",
  413. "_N$string": "Enter text here...",
  414. "_fontSize": 20,
  415. "_lineHeight": 25,
  416. "_enableWrapText": false,
  417. "_N$file": null,
  418. "_isSystemFontUsed": true,
  419. "_spacingX": 0,
  420. "_batchAsBitmap": false,
  421. "_N$horizontalAlign": 0,
  422. "_N$verticalAlign": 1,
  423. "_N$fontFamily": "Arial",
  424. "_N$overflow": 1,
  425. "_N$cacheMode": 0,
  426. "_id": ""
  427. },
  428. {
  429. "__type__": "cc.Widget",
  430. "_name": "",
  431. "_objFlags": 0,
  432. "node": {
  433. "__id__": 10
  434. },
  435. "_enabled": true,
  436. "alignMode": 0,
  437. "_target": null,
  438. "_alignFlags": 45,
  439. "_left": 2,
  440. "_right": 0,
  441. "_top": 0,
  442. "_bottom": 0,
  443. "_verticalCenter": 0,
  444. "_horizontalCenter": 0,
  445. "_isAbsLeft": true,
  446. "_isAbsRight": true,
  447. "_isAbsTop": true,
  448. "_isAbsBottom": true,
  449. "_isAbsHorizontalCenter": true,
  450. "_isAbsVerticalCenter": true,
  451. "_originalWidth": 158,
  452. "_originalHeight": 40,
  453. "_id": ""
  454. },
  455. {
  456. "__type__": "cc.PrefabInfo",
  457. "root": {
  458. "__id__": 1
  459. },
  460. "asset": {
  461. "__uuid__": "61aeb05b-3b32-452b-8eed-2b76deeed554"
  462. },
  463. "fileId": "d9Sjcz6gxMGYCoLbO/scJL",
  464. "sync": false
  465. },
  466. {
  467. "__type__": "cc.EditBox",
  468. "_name": "",
  469. "_objFlags": 0,
  470. "node": {
  471. "__id__": 1
  472. },
  473. "_enabled": true,
  474. "_useOriginalSize": false,
  475. "_string": "",
  476. "returnType": 0,
  477. "maxLength": 8,
  478. "_tabIndex": 0,
  479. "editingDidBegan": [],
  480. "textChanged": [],
  481. "editingDidEnded": [],
  482. "editingReturn": [],
  483. "_N$textLabel": {
  484. "__id__": 7
  485. },
  486. "_N$placeholderLabel": {
  487. "__id__": 11
  488. },
  489. "_N$background": {
  490. "__id__": 3
  491. },
  492. "_N$inputFlag": 5,
  493. "_N$inputMode": 6,
  494. "_N$stayOnTop": false,
  495. "_id": ""
  496. },
  497. {
  498. "__type__": "cc.PrefabInfo",
  499. "root": {
  500. "__id__": 1
  501. },
  502. "asset": {
  503. "__uuid__": "61aeb05b-3b32-452b-8eed-2b76deeed554"
  504. },
  505. "fileId": "590f66n7/1CY5uRJYcGGuJO",
  506. "sync": false
  507. }
  508. ]