UILanuchView_Generate.lua 16 KB

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