| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702 |
- ---@class UILuckyEgg__Generate_btnArrowL
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UILuckyEgg__Generate_btnArrowR
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UILuckyEgg__Generate_dot
- ---@field public gameObject UnityEngine.GameObject
- ---@field public toggle UnityEngine.UI.Toggle
- ---@class UILuckyEgg__Generate_btnClose
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UILuckyEgg__Generate_btnTen
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UILuckyEgg__Generate_currencyTen_number
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UILuckyEgg__Generate_currencyTen_icon
- ---@field public gameObject UnityEngine.GameObject
- ---@field public image UnityEngine.UI.Image
- ---@class UILuckyEgg__Generate_currencyTen
- ---@field public gameObject UnityEngine.GameObject
- ---@field public icon UILuckyEgg__Generate_currencyTen_icon
- ---@field public number UILuckyEgg__Generate_currencyTen_number
- ---@class UILuckyEgg__Generate_btnOne
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UILuckyEgg__Generate_currencyOne_number
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UILuckyEgg__Generate_currencyOne_icon
- ---@field public gameObject UnityEngine.GameObject
- ---@field public image UnityEngine.UI.Image
- ---@class UILuckyEgg__Generate_currencyOne
- ---@field public gameObject UnityEngine.GameObject
- ---@field public icon UILuckyEgg__Generate_currencyOne_icon
- ---@field public number UILuckyEgg__Generate_currencyOne_number
- ---@class UILuckyEgg__Generate_btnPlayRule
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UILuckyEgg__Generate_btnBuy
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UILuckyEgg__Generate_currency_number
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UILuckyEgg__Generate_currency_icon
- ---@field public gameObject UnityEngine.GameObject
- ---@field public image UnityEngine.UI.Image
- ---@class UILuckyEgg__Generate_currency
- ---@field public gameObject UnityEngine.GameObject
- ---@field public icon UILuckyEgg__Generate_currency_icon
- ---@field public number UILuckyEgg__Generate_currency_number
- ---@class UILuckyEgg__Generate_viewport
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uiLoopAutoMove UiLoopAutoMove
- ---@class UILuckyEgg__Generate_variegationEggToggle
- ---@field public gameObject UnityEngine.GameObject
- ---@field public toggle UnityEngine.UI.Toggle
- ---@class UILuckyEgg__Generate_goldenEggToggle
- ---@field public gameObject UnityEngine.GameObject
- ---@field public toggle UnityEngine.UI.Toggle
- ---@class UILuckyEgg__Generate_toggle
- ---@field public gameObject UnityEngine.GameObject
- ---@field public toggleGroup UnityEngine.UI.ToggleGroup
- ---@class UILuckyEgg__Generate_uILuckyEggItem
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@class UILuckyEgg__Generate_scrollView
- ---@field public gameObject UnityEngine.GameObject
- ---@field public loopListView SuperScrollView.LoopListView
- ---@class UILuckyEgg__Generate_window
- ---@field public gameObject UnityEngine.GameObject
- ---@field public animator UnityEngine.Animator
- ---@class UILuckyEgg__Generate_AnyBtn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UILuckyEgg__Generate_uIAnimator
- ---@field public gameObject UnityEngine.GameObject
- ---@field public animator UnityEngine.Animator
- ---@class UILuckyEgg__Generate
- ---@field private gameObject UnityEngine.GameObject
- ---@field private transform UnityEngine.Transform
- ---@field private uIAnimator UILuckyEgg__Generate_uIAnimator
- ---@field private AnyBtn UILuckyEgg__Generate_AnyBtn
- ---@field private window UILuckyEgg__Generate_window
- ---@field private scrollView UILuckyEgg__Generate_scrollView
- ---@field private uILuckyEggItem UILuckyEgg__Generate_uILuckyEggItem
- ---@field private toggle UILuckyEgg__Generate_toggle
- ---@field private goldenEggToggle UILuckyEgg__Generate_goldenEggToggle
- ---@field private variegationEggToggle UILuckyEgg__Generate_variegationEggToggle
- ---@field private viewport UILuckyEgg__Generate_viewport
- ---@field private currency UILuckyEgg__Generate_currency
- ---@field private btnBuy UILuckyEgg__Generate_btnBuy
- ---@field private btnPlayRule UILuckyEgg__Generate_btnPlayRule
- ---@field private leftAnim UnityEngine.GameObject
- ---@field private currencyOne UILuckyEgg__Generate_currencyOne
- ---@field private btnOne UILuckyEgg__Generate_btnOne
- ---@field private rightAnim UnityEngine.GameObject
- ---@field private currencyTen UILuckyEgg__Generate_currencyTen
- ---@field private btnTen UILuckyEgg__Generate_btnTen
- ---@field private btnClose UILuckyEgg__Generate_btnClose
- ---@field private dotToggleGroup UnityEngine.GameObject
- ---@field private dot UILuckyEgg__Generate_dot
- ---@field private btnArrowR UILuckyEgg__Generate_btnArrowR
- ---@field private btnArrowL UILuckyEgg__Generate_btnArrowL
- local UILuckyEggView = class("UILuckyEggView", require("UIViewBase"))
- function UILuckyEggView:ctor()
- end
- ---@private
- function UILuckyEggView:SetActive(result)
- self.gameObject:SetActive(result)
- end
- ---@private
- function UILuckyEggView:InitGenerate(Root, data)
- self.transform = Root
- self.inited = true
- if self.super.Init then
- self.super.Init(self)
- end
- local tmp
- self:InitGenerate__1(Root,data)
- self:InitGenerate__2(Root,data)
- self:InitGenerate__3(Root,data)
- self:InitGenerate__4(Root,data)
- self:InitGenerate__5(Root,data)
- self:InitGenerate__6(Root,data)
- self:InitGenerate__7(Root,data)
- self:InitGenerate__8(Root,data)
- self:InitGenerate__9(Root,data)
- self:InitGenerate__10(Root,data)
- self:InitGenerate__11(Root,data)
- self:InitGenerate__12(Root,data)
- self:InitGenerate__13(Root,data)
- self:InitGenerate__14(Root,data)
- self:InitGenerate__15(Root,data)
- self:InitGenerate__16(Root,data)
- self:InitGenerate__17(Root,data)
- self:InitGenerate__18(Root,data)
- self:InitGenerate__19(Root,data)
- self:InitGenerate__20(Root,data)
- self:InitGenerate__21(Root,data)
- self:InitGenerate__22(Root,data)
- self:InitGenerate__23(Root,data)
- self:InitGenerate__24(Root,data)
- self:InitGenerate__25(Root,data)
- self:InitGenerate__26(Root,data)
- self:InitGenerate__27(Root,data)
- self:InitGenerate__28(Root,data)
- self:InitGenerate__29(Root,data)
- end
- ---@private
- function UILuckyEggView:InitGenerate__1(Root, data)
- --[[
- UIAnimator
- --]]
- local tmp = Root:Find("UIAnimator").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.uIAnimator = tmp
- tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
- tmp.animator.logWarnings = false
- end
- ---@private
- function UILuckyEggView:InitGenerate__2(Root, data)
- --[[
- UIAnimator/Alpha
- --]]
- local tmp = Root:Find("UIAnimator/Alpha").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.AnyBtn = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UILuckyEggView:InitGenerate__3(Root, data)
- --[[
- UIAnimator/Window
- --]]
- local tmp = Root:Find("UIAnimator/Window").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.window = tmp
- tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
- tmp.animator.logWarnings = false
- end
- ---@private
- function UILuckyEggView:InitGenerate__4(Root, data)
- --[[
- UIAnimator/Window/ScrollView
- --]]
- local tmp = Root:Find("UIAnimator/Window/ScrollView").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.scrollView = tmp
- tmp.loopListView = tmp:GetComponent(Enum.TypeInfo.LoopListView)
- end
- ---@private
- function UILuckyEggView:InitGenerate__5(Root, data)
- --[[
- UIAnimator/Window/ScrollView/Viewport/Content/UILuckyEggItem
- --]]
- local tmp = Root:Find("UIAnimator/Window/ScrollView/Viewport/Content/UILuckyEggItem").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.uILuckyEggItem = CommonUtil.BindGridViewItem2LuaStatic("UILuckyEggItem", tmp)
- self.uILuckyEggItem.prefabName = "UILuckyEggItem"
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- end
- ---@private
- function UILuckyEggView:InitGenerate__6(Root, data)
- --[[
- UIAnimator/Window/TopView/Toggle
- --]]
- local tmp = Root:Find("UIAnimator/Window/TopView/Toggle").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.toggle = tmp
- tmp.toggleGroup = tmp:GetComponent(Enum.TypeInfo.ToggleGroup)
- end
- ---@private
- function UILuckyEggView:InitGenerate__7(Root, data)
- --[[
- UIAnimator/Window/TopView/Toggle/GoldenEggToggle
- --]]
- local tmp = Root:Find("UIAnimator/Window/TopView/Toggle/GoldenEggToggle").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.goldenEggToggle = tmp
- tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
- end
- ---@private
- function UILuckyEggView:InitGenerate__8(Root, data)
- --[[
- UIAnimator/Window/TopView/Toggle/VariegationEggToggle
- --]]
- local tmp = Root:Find("UIAnimator/Window/TopView/Toggle/VariegationEggToggle").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.variegationEggToggle = tmp
- tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
- end
- ---@private
- function UILuckyEggView:InitGenerate__9(Root, data)
- --[[
- UIAnimator/Window/TopView/LuckyeggBoxAmin/Viewport
- --]]
- local tmp = Root:Find("UIAnimator/Window/TopView/LuckyeggBoxAmin/Viewport").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.viewport = tmp
- tmp.uiLoopAutoMove = tmp:GetComponent(Enum.TypeInfo.UiLoopAutoMove)
- end
- ---@private
- function UILuckyEggView:InitGenerate__10(Root, data)
- --[[
- UIAnimator/Window/TopView/ResourceBoxAnim/Currency
- --]]
- local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBoxAnim/Currency").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.currency = tmp
- end
- ---@private
- function UILuckyEggView:InitGenerate__11(Root, data)
- --[[
- UIAnimator/Window/TopView/ResourceBoxAnim/Currency/Icon
- --]]
- local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBoxAnim/Currency/Icon").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.currency.icon = tmp
- tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
- end
- ---@private
- function UILuckyEggView:InitGenerate__12(Root, data)
- --[[
- UIAnimator/Window/TopView/ResourceBoxAnim/Currency/Number
- --]]
- local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBoxAnim/Currency/Number").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.currency.number = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UILuckyEggView:InitGenerate__13(Root, data)
- --[[
- UIAnimator/Window/TopView/ResourceBoxAnim/Currency/BtnBuy
- --]]
- local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBoxAnim/Currency/BtnBuy").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnBuy = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UILuckyEggView:InitGenerate__14(Root, data)
- --[[
- UIAnimator/Window/TopView/ResourceBoxAnim/BtnPlayRule
- --]]
- local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBoxAnim/BtnPlayRule").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnPlayRule = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UILuckyEggView:InitGenerate__15(Root, data)
- --[[
- UIAnimator/Window/BtnBox/BtnAnim/LeftAnim
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBox/BtnAnim/LeftAnim").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.leftAnim = tmp
- end
- ---@private
- function UILuckyEggView:InitGenerate__16(Root, data)
- --[[
- UIAnimator/Window/BtnBox/BtnAnim/LeftAnim/CurrencyOne
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBox/BtnAnim/LeftAnim/CurrencyOne").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.currencyOne = tmp
- end
- ---@private
- function UILuckyEggView:InitGenerate__17(Root, data)
- --[[
- UIAnimator/Window/BtnBox/BtnAnim/LeftAnim/CurrencyOne/Icon
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBox/BtnAnim/LeftAnim/CurrencyOne/Icon").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.currencyOne.icon = tmp
- tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
- end
- ---@private
- function UILuckyEggView:InitGenerate__18(Root, data)
- --[[
- UIAnimator/Window/BtnBox/BtnAnim/LeftAnim/CurrencyOne/Number
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBox/BtnAnim/LeftAnim/CurrencyOne/Number").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.currencyOne.number = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UILuckyEggView:InitGenerate__19(Root, data)
- --[[
- UIAnimator/Window/BtnBox/BtnAnim/LeftAnim/BtnOne
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBox/BtnAnim/LeftAnim/BtnOne").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnOne = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UILuckyEggView:InitGenerate__20(Root, data)
- --[[
- UIAnimator/Window/BtnBox/BtnAnim/RightAnim
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBox/BtnAnim/RightAnim").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.rightAnim = tmp
- end
- ---@private
- function UILuckyEggView:InitGenerate__21(Root, data)
- --[[
- UIAnimator/Window/BtnBox/BtnAnim/RightAnim/CurrencyTen
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBox/BtnAnim/RightAnim/CurrencyTen").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.currencyTen = tmp
- end
- ---@private
- function UILuckyEggView:InitGenerate__22(Root, data)
- --[[
- UIAnimator/Window/BtnBox/BtnAnim/RightAnim/CurrencyTen/Icon
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBox/BtnAnim/RightAnim/CurrencyTen/Icon").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.currencyTen.icon = tmp
- tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
- end
- ---@private
- function UILuckyEggView:InitGenerate__23(Root, data)
- --[[
- UIAnimator/Window/BtnBox/BtnAnim/RightAnim/CurrencyTen/Number
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBox/BtnAnim/RightAnim/CurrencyTen/Number").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.currencyTen.number = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UILuckyEggView:InitGenerate__24(Root, data)
- --[[
- UIAnimator/Window/BtnBox/BtnAnim/RightAnim/BtnTen
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBox/BtnAnim/RightAnim/BtnTen").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnTen = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UILuckyEggView:InitGenerate__25(Root, data)
- --[[
- UIAnimator/Window/Bottom/BtnClose
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bottom/BtnClose").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnClose = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UILuckyEggView:InitGenerate__26(Root, data)
- --[[
- UIAnimator/Window/Bottom/DotToggleGroup
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bottom/DotToggleGroup").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.dotToggleGroup = tmp
- end
- ---@private
- function UILuckyEggView:InitGenerate__27(Root, data)
- --[[
- UIAnimator/Window/Bottom/DotToggleGroup/Dot
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bottom/DotToggleGroup/Dot").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.dot = tmp
- tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
- end
- ---@private
- function UILuckyEggView:InitGenerate__28(Root, data)
- --[[
- UIAnimator/Window/BtnArrowR
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnArrowR").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnArrowR = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UILuckyEggView:InitGenerate__29(Root, data)
- --[[
- UIAnimator/Window/BtnArrowL
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnArrowL").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnArrowL = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UILuckyEggView:GenerateDestroy()
- if tolua.getpeer(self.currencyTen.number) ~= nil then
- tolua.setpeer(self.currencyTen.number, nil)
- end
- if tolua.getpeer(self.currencyTen.icon) ~= nil then
- tolua.setpeer(self.currencyTen.icon, nil)
- end
- if tolua.getpeer(self.currencyOne.number) ~= nil then
- tolua.setpeer(self.currencyOne.number, nil)
- end
- if tolua.getpeer(self.currencyOne.icon) ~= nil then
- tolua.setpeer(self.currencyOne.icon, nil)
- end
- if tolua.getpeer(self.currency.number) ~= nil then
- tolua.setpeer(self.currency.number, nil)
- end
- if tolua.getpeer(self.currency.icon) ~= nil then
- tolua.setpeer(self.currency.icon, nil)
- end
- if tolua.getpeer(self.uIAnimator) ~= nil then
- tolua.setpeer(self.uIAnimator, nil)
- end
- self.uIAnimator = nil
- if tolua.getpeer(self.AnyBtn) ~= nil then
- tolua.setpeer(self.AnyBtn, nil)
- end
- self.AnyBtn = nil
- if tolua.getpeer(self.window) ~= nil then
- tolua.setpeer(self.window, nil)
- end
- self.window = nil
- if tolua.getpeer(self.scrollView) ~= nil then
- tolua.setpeer(self.scrollView, nil)
- end
- self.scrollView = nil
- if self.uILuckyEggItem.GenerateDestroy ~= nil then
- self.uILuckyEggItem:GenerateDestroy()
- end
- if tolua.getpeer(self.uILuckyEggItem) ~= nil then
- tolua.setpeer(self.uILuckyEggItem, nil)
- end
- self.uILuckyEggItem = nil
- if tolua.getpeer(self.toggle) ~= nil then
- tolua.setpeer(self.toggle, nil)
- end
- self.toggle = nil
- if tolua.getpeer(self.goldenEggToggle) ~= nil then
- tolua.setpeer(self.goldenEggToggle, nil)
- end
- self.goldenEggToggle = nil
- if tolua.getpeer(self.variegationEggToggle) ~= nil then
- tolua.setpeer(self.variegationEggToggle, nil)
- end
- self.variegationEggToggle = nil
- if tolua.getpeer(self.viewport) ~= nil then
- tolua.setpeer(self.viewport, nil)
- end
- self.viewport = nil
- if tolua.getpeer(self.currency) ~= nil then
- tolua.setpeer(self.currency, nil)
- end
- self.currency = nil
- if tolua.getpeer(self.btnBuy) ~= nil then
- tolua.setpeer(self.btnBuy, nil)
- end
- self.btnBuy = nil
- if tolua.getpeer(self.btnPlayRule) ~= nil then
- tolua.setpeer(self.btnPlayRule, nil)
- end
- self.btnPlayRule = nil
- if tolua.getpeer(self.leftAnim) ~= nil then
- tolua.setpeer(self.leftAnim, nil)
- end
- self.leftAnim = nil
- if tolua.getpeer(self.currencyOne) ~= nil then
- tolua.setpeer(self.currencyOne, nil)
- end
- self.currencyOne = nil
- if tolua.getpeer(self.btnOne) ~= nil then
- tolua.setpeer(self.btnOne, nil)
- end
- self.btnOne = nil
- if tolua.getpeer(self.rightAnim) ~= nil then
- tolua.setpeer(self.rightAnim, nil)
- end
- self.rightAnim = nil
- if tolua.getpeer(self.currencyTen) ~= nil then
- tolua.setpeer(self.currencyTen, nil)
- end
- self.currencyTen = nil
- if tolua.getpeer(self.btnTen) ~= nil then
- tolua.setpeer(self.btnTen, nil)
- end
- self.btnTen = nil
- if tolua.getpeer(self.btnClose) ~= nil then
- tolua.setpeer(self.btnClose, nil)
- end
- self.btnClose = nil
- if tolua.getpeer(self.dotToggleGroup) ~= nil then
- tolua.setpeer(self.dotToggleGroup, nil)
- end
- self.dotToggleGroup = nil
- if tolua.getpeer(self.dot) ~= nil then
- tolua.setpeer(self.dot, nil)
- end
- self.dot = nil
- if tolua.getpeer(self.btnArrowR) ~= nil then
- tolua.setpeer(self.btnArrowR, nil)
- end
- self.btnArrowR = nil
- if tolua.getpeer(self.btnArrowL) ~= nil then
- tolua.setpeer(self.btnArrowL, nil)
- end
- self.btnArrowL = nil
- self.transform = nil
- self.gameObject = nil
- self.inited = false
- end
- return UILuckyEggView
|