UILanuchView_Generate.lua 17 KB

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