UILanuchView_Generate.lua 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608
  1. ---@class UILanuch__Generate_scrollbar
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public scrollbar UnityEngine.UI.Scrollbar
  4. ---@class UILanuch__Generate_numberText
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public text UnityEngine.UI.Text
  7. ---@class UILanuch__Generate_text
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public text UnityEngine.UI.Text
  10. ---@class UILanuch__Generate_editionTxt
  11. ---@field public gameObject UnityEngine.GameObject
  12. ---@field public text TMPro.TextMeshProUGUI
  13. ---@class UILanuch__Generate_resVol_contentTxt
  14. ---@field public gameObject UnityEngine.GameObject
  15. ---@field public text TMPro.TextMeshProUGUI
  16. ---@class UILanuch__Generate_resVol
  17. ---@field public gameObject UnityEngine.GameObject
  18. ---@field public contentTxt UILanuch__Generate_resVol_contentTxt
  19. ---@class UILanuch__Generate_appVol_contentTxt
  20. ---@field public gameObject UnityEngine.GameObject
  21. ---@field public text TMPro.TextMeshProUGUI
  22. ---@class UILanuch__Generate_appVol
  23. ---@field public gameObject UnityEngine.GameObject
  24. ---@field public contentTxt UILanuch__Generate_appVol_contentTxt
  25. ---@class UILanuch__Generate_btnCADPA
  26. ---@field public gameObject UnityEngine.GameObject
  27. ---@field public button UnityEngine.UI.Button
  28. ---@class UILanuch__Generate_agreement_toggle
  29. ---@field public gameObject UnityEngine.GameObject
  30. ---@field public toggle UnityEngine.UI.Toggle
  31. ---@class UILanuch__Generate_agreement_text
  32. ---@field public gameObject UnityEngine.GameObject
  33. ---@field public text TMPro.TextMeshProUGUI
  34. ---@field public button UnityEngine.UI.Button
  35. ---@class UILanuch__Generate_agreement
  36. ---@field public gameObject UnityEngine.GameObject
  37. ---@field public text UILanuch__Generate_agreement_text
  38. ---@field public toggle UILanuch__Generate_agreement_toggle
  39. ---@class UILanuch__Generate_btnNotice
  40. ---@field public gameObject UnityEngine.GameObject
  41. ---@field public button UnityEngine.UI.Button
  42. ---@class UILanuch__Generate_serverText
  43. ---@field public gameObject UnityEngine.GameObject
  44. ---@field public text UnityEngine.UI.Text
  45. ---@class UILanuch__Generate_btnServer
  46. ---@field public gameObject UnityEngine.GameObject
  47. ---@field public button UnityEngine.UI.Button
  48. ---@class UILanuch__Generate_serverRoot
  49. ---@field public gameObject UnityEngine.GameObject
  50. ---@field public animator UnityEngine.Animator
  51. ---@class UILanuch__Generate_btnEnter
  52. ---@field public gameObject UnityEngine.GameObject
  53. ---@field public button UnityEngine.UI.Button
  54. ---@class UILanuch__Generate_createRoleImg
  55. ---@field public gameObject UnityEngine.GameObject
  56. ---@field public image UnityEngine.UI.Image
  57. ---@class UILanuch__Generate_loginAnim
  58. ---@field public gameObject UnityEngine.GameObject
  59. ---@field public animator UnityEngine.Animator
  60. ---@class UILanuch__Generate
  61. ---@field private gameObject UnityEngine.GameObject
  62. ---@field private transform UnityEngine.Transform
  63. ---@field private loginAnim UILanuch__Generate_loginAnim
  64. ---@field private loginBG UnityEngine.GameObject
  65. ---@field private createRoleImg UILanuch__Generate_createRoleImg
  66. ---@field private logo UnityEngine.GameObject
  67. ---@field private mask UnityEngine.GameObject
  68. ---@field private loginRoot UnityEngine.GameObject
  69. ---@field private btnEnter UILanuch__Generate_btnEnter
  70. ---@field private serverRoot UILanuch__Generate_serverRoot
  71. ---@field private btnServer UILanuch__Generate_btnServer
  72. ---@field private serverText UILanuch__Generate_serverText
  73. ---@field private loadingServer UnityEngine.GameObject
  74. ---@field private btnNotice UILanuch__Generate_btnNotice
  75. ---@field private bg UnityEngine.GameObject
  76. ---@field private agreement UILanuch__Generate_agreement
  77. ---@field private btnCADPA UILanuch__Generate_btnCADPA
  78. ---@field private appVol UILanuch__Generate_appVol
  79. ---@field private resVol UILanuch__Generate_resVol
  80. ---@field private editionTxt UILanuch__Generate_editionTxt
  81. ---@field private loadingRoot UnityEngine.GameObject
  82. ---@field private text UILanuch__Generate_text
  83. ---@field private numberText UILanuch__Generate_numberText
  84. ---@field private scrollbar UILanuch__Generate_scrollbar
  85. local UILanuchView = class("UILanuchView", require("UIViewBase"))
  86. function UILanuchView:ctor()
  87. end
  88. ---@private
  89. function UILanuchView:SetActive(result)
  90. self.gameObject:SetActive(result)
  91. end
  92. ---@private
  93. function UILanuchView:InitGenerate(Root, data)
  94. self.transform = Root
  95. self.inited = true
  96. if self.super.Init then
  97. self.super.Init(self)
  98. end
  99. local tmp
  100. self:InitGenerate__1(Root,data)
  101. self:InitGenerate__2(Root,data)
  102. self:InitGenerate__3(Root,data)
  103. self:InitGenerate__4(Root,data)
  104. self:InitGenerate__5(Root,data)
  105. self:InitGenerate__6(Root,data)
  106. self:InitGenerate__7(Root,data)
  107. self:InitGenerate__8(Root,data)
  108. self:InitGenerate__9(Root,data)
  109. self:InitGenerate__10(Root,data)
  110. self:InitGenerate__11(Root,data)
  111. self:InitGenerate__12(Root,data)
  112. self:InitGenerate__13(Root,data)
  113. self:InitGenerate__14(Root,data)
  114. self:InitGenerate__15(Root,data)
  115. self:InitGenerate__16(Root,data)
  116. self:InitGenerate__17(Root,data)
  117. self:InitGenerate__18(Root,data)
  118. self:InitGenerate__19(Root,data)
  119. self:InitGenerate__20(Root,data)
  120. self:InitGenerate__21(Root,data)
  121. self:InitGenerate__22(Root,data)
  122. self:InitGenerate__23(Root,data)
  123. self:InitGenerate__24(Root,data)
  124. self:InitGenerate__25(Root,data)
  125. self:InitGenerate__26(Root,data)
  126. end
  127. ---@private
  128. function UILanuchView:InitGenerate__1(Root, data)
  129. --[[
  130. LoginAnim
  131. --]]
  132. local tmp = Root:Find("LoginAnim").gameObject
  133. if tolua.getpeer(tmp) == nil then
  134. tolua.setpeer(tmp, {})
  135. end
  136. self.loginAnim = tmp
  137. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  138. tmp.animator.logWarnings = false
  139. end
  140. ---@private
  141. function UILanuchView:InitGenerate__2(Root, data)
  142. --[[
  143. LoginAnim/LoginBG
  144. --]]
  145. local tmp = Root:Find("LoginAnim/LoginBG").gameObject
  146. if tolua.getpeer(tmp) == nil then
  147. tolua.setpeer(tmp, {})
  148. end
  149. self.loginBG = tmp
  150. end
  151. ---@private
  152. function UILanuchView:InitGenerate__3(Root, data)
  153. --[[
  154. LoginAnim/LoginBG/CreateRoleImg
  155. --]]
  156. local tmp = Root:Find("LoginAnim/LoginBG/CreateRoleImg").gameObject
  157. if tolua.getpeer(tmp) == nil then
  158. tolua.setpeer(tmp, {})
  159. end
  160. self.createRoleImg = tmp
  161. self.createRoleImg:SetActive(false)
  162. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  163. end
  164. ---@private
  165. function UILanuchView:InitGenerate__4(Root, data)
  166. --[[
  167. LoginAnim/Logo
  168. --]]
  169. local tmp = Root:Find("LoginAnim/Logo").gameObject
  170. if tolua.getpeer(tmp) == nil then
  171. tolua.setpeer(tmp, {})
  172. end
  173. self.logo = tmp
  174. end
  175. ---@private
  176. function UILanuchView:InitGenerate__5(Root, data)
  177. --[[
  178. LoginAnim/Logo/Mask
  179. --]]
  180. local tmp = Root:Find("LoginAnim/Logo/Mask").gameObject
  181. if tolua.getpeer(tmp) == nil then
  182. tolua.setpeer(tmp, {})
  183. end
  184. self.mask = tmp
  185. end
  186. ---@private
  187. function UILanuchView:InitGenerate__6(Root, data)
  188. --[[
  189. LoginAnim/LoginRoot
  190. --]]
  191. local tmp = Root:Find("LoginAnim/LoginRoot").gameObject
  192. if tolua.getpeer(tmp) == nil then
  193. tolua.setpeer(tmp, {})
  194. end
  195. self.loginRoot = tmp
  196. end
  197. ---@private
  198. function UILanuchView:InitGenerate__7(Root, data)
  199. --[[
  200. LoginAnim/LoginRoot/BtnEnter
  201. --]]
  202. local tmp = Root:Find("LoginAnim/LoginRoot/BtnEnter").gameObject
  203. if tolua.getpeer(tmp) == nil then
  204. tolua.setpeer(tmp, {})
  205. end
  206. self.btnEnter = tmp
  207. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  208. end
  209. ---@private
  210. function UILanuchView:InitGenerate__8(Root, data)
  211. --[[
  212. LoginAnim/LoginRoot/ServerRoot
  213. --]]
  214. local tmp = Root:Find("LoginAnim/LoginRoot/ServerRoot").gameObject
  215. if tolua.getpeer(tmp) == nil then
  216. tolua.setpeer(tmp, {})
  217. end
  218. self.serverRoot = tmp
  219. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  220. tmp.animator.logWarnings = false
  221. end
  222. ---@private
  223. function UILanuchView:InitGenerate__9(Root, data)
  224. --[[
  225. LoginAnim/LoginRoot/ServerRoot/BtnServer
  226. --]]
  227. local tmp = Root:Find("LoginAnim/LoginRoot/ServerRoot/BtnServer").gameObject
  228. if tolua.getpeer(tmp) == nil then
  229. tolua.setpeer(tmp, {})
  230. end
  231. self.btnServer = tmp
  232. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  233. end
  234. ---@private
  235. function UILanuchView:InitGenerate__10(Root, data)
  236. --[[
  237. LoginAnim/LoginRoot/ServerRoot/BtnServer/blue/ServerText
  238. --]]
  239. local tmp = Root:Find("LoginAnim/LoginRoot/ServerRoot/BtnServer/blue/ServerText").gameObject
  240. if tolua.getpeer(tmp) == nil then
  241. tolua.setpeer(tmp, {})
  242. end
  243. self.serverText = tmp
  244. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  245. end
  246. ---@private
  247. function UILanuchView:InitGenerate__11(Root, data)
  248. --[[
  249. LoginAnim/LoginRoot/ServerRoot/LoadingServer
  250. --]]
  251. local tmp = Root:Find("LoginAnim/LoginRoot/ServerRoot/LoadingServer").gameObject
  252. if tolua.getpeer(tmp) == nil then
  253. tolua.setpeer(tmp, {})
  254. end
  255. self.loadingServer = tmp
  256. end
  257. ---@private
  258. function UILanuchView:InitGenerate__12(Root, data)
  259. --[[
  260. LoginAnim/LoginRoot/BtnNotice
  261. --]]
  262. local tmp = Root:Find("LoginAnim/LoginRoot/BtnNotice").gameObject
  263. if tolua.getpeer(tmp) == nil then
  264. tolua.setpeer(tmp, {})
  265. end
  266. self.btnNotice = tmp
  267. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  268. end
  269. ---@private
  270. function UILanuchView:InitGenerate__13(Root, data)
  271. --[[
  272. LoginAnim/LoginRoot/BtnNotice/bg
  273. --]]
  274. local tmp = Root:Find("LoginAnim/LoginRoot/BtnNotice/bg").gameObject
  275. if tolua.getpeer(tmp) == nil then
  276. tolua.setpeer(tmp, {})
  277. end
  278. self.bg = tmp
  279. end
  280. ---@private
  281. function UILanuchView:InitGenerate__14(Root, data)
  282. --[[
  283. LoginAnim/LoginRoot/Agreement
  284. --]]
  285. local tmp = Root:Find("LoginAnim/LoginRoot/Agreement").gameObject
  286. if tolua.getpeer(tmp) == nil then
  287. tolua.setpeer(tmp, {})
  288. end
  289. self.agreement = tmp
  290. end
  291. ---@private
  292. function UILanuchView:InitGenerate__15(Root, data)
  293. --[[
  294. LoginAnim/LoginRoot/Agreement/Text
  295. --]]
  296. local tmp = Root:Find("LoginAnim/LoginRoot/Agreement/Text").gameObject
  297. if tolua.getpeer(tmp) == nil then
  298. tolua.setpeer(tmp, {})
  299. end
  300. self.agreement.text = tmp
  301. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  302. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  303. end
  304. ---@private
  305. function UILanuchView:InitGenerate__16(Root, data)
  306. --[[
  307. LoginAnim/LoginRoot/Agreement/Toggle
  308. --]]
  309. local tmp = Root:Find("LoginAnim/LoginRoot/Agreement/Toggle").gameObject
  310. if tolua.getpeer(tmp) == nil then
  311. tolua.setpeer(tmp, {})
  312. end
  313. self.agreement.toggle = tmp
  314. tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
  315. end
  316. ---@private
  317. function UILanuchView:InitGenerate__17(Root, data)
  318. --[[
  319. LoginAnim/LoginRoot/BtnCADPA
  320. --]]
  321. local tmp = Root:Find("LoginAnim/LoginRoot/BtnCADPA").gameObject
  322. if tolua.getpeer(tmp) == nil then
  323. tolua.setpeer(tmp, {})
  324. end
  325. self.btnCADPA = tmp
  326. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  327. end
  328. ---@private
  329. function UILanuchView:InitGenerate__18(Root, data)
  330. --[[
  331. LoginAnim/Common/AppVol
  332. --]]
  333. local tmp = Root:Find("LoginAnim/Common/AppVol").gameObject
  334. if tolua.getpeer(tmp) == nil then
  335. tolua.setpeer(tmp, {})
  336. end
  337. self.appVol = tmp
  338. end
  339. ---@private
  340. function UILanuchView:InitGenerate__19(Root, data)
  341. --[[
  342. LoginAnim/Common/AppVol/ContentTxt
  343. --]]
  344. local tmp = Root:Find("LoginAnim/Common/AppVol/ContentTxt").gameObject
  345. if tolua.getpeer(tmp) == nil then
  346. tolua.setpeer(tmp, {})
  347. end
  348. self.appVol.contentTxt = tmp
  349. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  350. end
  351. ---@private
  352. function UILanuchView:InitGenerate__20(Root, data)
  353. --[[
  354. LoginAnim/Common/ResVol
  355. --]]
  356. local tmp = Root:Find("LoginAnim/Common/ResVol").gameObject
  357. if tolua.getpeer(tmp) == nil then
  358. tolua.setpeer(tmp, {})
  359. end
  360. self.resVol = tmp
  361. end
  362. ---@private
  363. function UILanuchView:InitGenerate__21(Root, data)
  364. --[[
  365. LoginAnim/Common/ResVol/ContentTxt
  366. --]]
  367. local tmp = Root:Find("LoginAnim/Common/ResVol/ContentTxt").gameObject
  368. if tolua.getpeer(tmp) == nil then
  369. tolua.setpeer(tmp, {})
  370. end
  371. self.resVol.contentTxt = tmp
  372. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  373. end
  374. ---@private
  375. function UILanuchView:InitGenerate__22(Root, data)
  376. --[[
  377. LoginAnim/Common/EditionTxt
  378. --]]
  379. local tmp = Root:Find("LoginAnim/Common/EditionTxt").gameObject
  380. if tolua.getpeer(tmp) == nil then
  381. tolua.setpeer(tmp, {})
  382. end
  383. self.editionTxt = tmp
  384. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  385. end
  386. ---@private
  387. function UILanuchView:InitGenerate__23(Root, data)
  388. --[[
  389. LoginAnim/LoadingRoot
  390. --]]
  391. local tmp = Root:Find("LoginAnim/LoadingRoot").gameObject
  392. if tolua.getpeer(tmp) == nil then
  393. tolua.setpeer(tmp, {})
  394. end
  395. self.loadingRoot = tmp
  396. end
  397. ---@private
  398. function UILanuchView:InitGenerate__24(Root, data)
  399. --[[
  400. LoginAnim/LoadingRoot/LoadingBar/Text
  401. --]]
  402. local tmp = Root:Find("LoginAnim/LoadingRoot/LoadingBar/Text").gameObject
  403. if tolua.getpeer(tmp) == nil then
  404. tolua.setpeer(tmp, {})
  405. end
  406. self.text = tmp
  407. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  408. end
  409. ---@private
  410. function UILanuchView:InitGenerate__25(Root, data)
  411. --[[
  412. LoginAnim/LoadingRoot/LoadingBar/NumberText
  413. --]]
  414. local tmp = Root:Find("LoginAnim/LoadingRoot/LoadingBar/NumberText").gameObject
  415. if tolua.getpeer(tmp) == nil then
  416. tolua.setpeer(tmp, {})
  417. end
  418. self.numberText = tmp
  419. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  420. end
  421. ---@private
  422. function UILanuchView:InitGenerate__26(Root, data)
  423. --[[
  424. LoginAnim/LoadingRoot/LoadingBar/Scrollbar
  425. --]]
  426. local tmp = Root:Find("LoginAnim/LoadingRoot/LoadingBar/Scrollbar").gameObject
  427. if tolua.getpeer(tmp) == nil then
  428. tolua.setpeer(tmp, {})
  429. end
  430. self.scrollbar = tmp
  431. tmp.scrollbar = tmp:GetComponent(Enum.TypeInfo.Scrollbar)
  432. end
  433. ---@private
  434. function UILanuchView:GenerateDestroy()
  435. if tolua.getpeer(self.resVol.contentTxt) ~= nil then
  436. tolua.setpeer(self.resVol.contentTxt, nil)
  437. end
  438. if tolua.getpeer(self.appVol.contentTxt) ~= nil then
  439. tolua.setpeer(self.appVol.contentTxt, nil)
  440. end
  441. if tolua.getpeer(self.agreement.toggle) ~= nil then
  442. tolua.setpeer(self.agreement.toggle, nil)
  443. end
  444. if tolua.getpeer(self.agreement.text) ~= nil then
  445. tolua.setpeer(self.agreement.text, nil)
  446. end
  447. if tolua.getpeer(self.loginAnim) ~= nil then
  448. tolua.setpeer(self.loginAnim, nil)
  449. end
  450. self.loginAnim = nil
  451. if tolua.getpeer(self.loginBG) ~= nil then
  452. tolua.setpeer(self.loginBG, nil)
  453. end
  454. self.loginBG = nil
  455. if tolua.getpeer(self.createRoleImg) ~= nil then
  456. tolua.setpeer(self.createRoleImg, nil)
  457. end
  458. self.createRoleImg = nil
  459. if tolua.getpeer(self.logo) ~= nil then
  460. tolua.setpeer(self.logo, nil)
  461. end
  462. self.logo = nil
  463. if tolua.getpeer(self.mask) ~= nil then
  464. tolua.setpeer(self.mask, nil)
  465. end
  466. self.mask = nil
  467. if tolua.getpeer(self.loginRoot) ~= nil then
  468. tolua.setpeer(self.loginRoot, nil)
  469. end
  470. self.loginRoot = nil
  471. if tolua.getpeer(self.btnEnter) ~= nil then
  472. tolua.setpeer(self.btnEnter, nil)
  473. end
  474. self.btnEnter = nil
  475. if tolua.getpeer(self.serverRoot) ~= nil then
  476. tolua.setpeer(self.serverRoot, nil)
  477. end
  478. self.serverRoot = nil
  479. if tolua.getpeer(self.btnServer) ~= nil then
  480. tolua.setpeer(self.btnServer, nil)
  481. end
  482. self.btnServer = nil
  483. if tolua.getpeer(self.serverText) ~= nil then
  484. tolua.setpeer(self.serverText, nil)
  485. end
  486. self.serverText = nil
  487. if tolua.getpeer(self.loadingServer) ~= nil then
  488. tolua.setpeer(self.loadingServer, nil)
  489. end
  490. self.loadingServer = nil
  491. if tolua.getpeer(self.btnNotice) ~= nil then
  492. tolua.setpeer(self.btnNotice, nil)
  493. end
  494. self.btnNotice = nil
  495. if tolua.getpeer(self.bg) ~= nil then
  496. tolua.setpeer(self.bg, nil)
  497. end
  498. self.bg = nil
  499. if tolua.getpeer(self.agreement) ~= nil then
  500. tolua.setpeer(self.agreement, nil)
  501. end
  502. self.agreement = nil
  503. if tolua.getpeer(self.btnCADPA) ~= nil then
  504. tolua.setpeer(self.btnCADPA, nil)
  505. end
  506. self.btnCADPA = nil
  507. if tolua.getpeer(self.appVol) ~= nil then
  508. tolua.setpeer(self.appVol, nil)
  509. end
  510. self.appVol = nil
  511. if tolua.getpeer(self.resVol) ~= nil then
  512. tolua.setpeer(self.resVol, nil)
  513. end
  514. self.resVol = nil
  515. if tolua.getpeer(self.editionTxt) ~= nil then
  516. tolua.setpeer(self.editionTxt, nil)
  517. end
  518. self.editionTxt = nil
  519. if tolua.getpeer(self.loadingRoot) ~= nil then
  520. tolua.setpeer(self.loadingRoot, nil)
  521. end
  522. self.loadingRoot = nil
  523. if tolua.getpeer(self.text) ~= nil then
  524. tolua.setpeer(self.text, nil)
  525. end
  526. self.text = nil
  527. if tolua.getpeer(self.numberText) ~= nil then
  528. tolua.setpeer(self.numberText, nil)
  529. end
  530. self.numberText = nil
  531. if tolua.getpeer(self.scrollbar) ~= nil then
  532. tolua.setpeer(self.scrollbar, nil)
  533. end
  534. self.scrollbar = nil
  535. self.transform = nil
  536. self.gameObject = nil
  537. self.inited = false
  538. end
  539. return UILanuchView