| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695 |
- ---@class UITipsSkill__Generate_dscGai_txt
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UITipsSkill__Generate_dscGai
- ---@field public gameObject UnityEngine.GameObject
- ---@field public txt UITipsSkill__Generate_dscGai_txt
- ---@class UITipsSkill__Generate_dscNext_txt
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UITipsSkill__Generate_dscNext_level
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UITipsSkill__Generate_dscNext
- ---@field public gameObject UnityEngine.GameObject
- ---@field public level UITipsSkill__Generate_dscNext_level
- ---@field public txt UITipsSkill__Generate_dscNext_txt
- ---@class UITipsSkill__Generate_dscCurrent_txt
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UITipsSkill__Generate_dscCurrent_level
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UITipsSkill__Generate_dscCurrent
- ---@field public gameObject UnityEngine.GameObject
- ---@field public level UITipsSkill__Generate_dscCurrent_level
- ---@field public txt UITipsSkill__Generate_dscCurrent_txt
- ---@class UITipsSkill__Generate_type2_text2
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UITipsSkill__Generate_type2_text1
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uILocalizeScript UILocalizeScript
- ---@field public text UnityEngine.UI.Text
- ---@class UITipsSkill__Generate_type2
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text1 UITipsSkill__Generate_type2_text1
- ---@field public text2 UITipsSkill__Generate_type2_text2
- ---@class UITipsSkill__Generate_type1_text2
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UITipsSkill__Generate_type1_text1
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uILocalizeScript UILocalizeScript
- ---@field public text UnityEngine.UI.Text
- ---@class UITipsSkill__Generate_type1
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text1 UITipsSkill__Generate_type1_text1
- ---@field public text2 UITipsSkill__Generate_type1_text2
- ---@class UITipsSkill__Generate_textName
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UITipsSkill__Generate_skillItem
- ---@field public gameObject UnityEngine.GameObject
- ---@field public rectTransform UnityEngine.RectTransform
- ---@class UITipsSkill__Generate_AnyBtn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UITipsSkill__Generate_uIAnimator
- ---@field public gameObject UnityEngine.GameObject
- ---@field public animator UnityEngine.Animator
- ---@class UITipsSkill__Generate
- ---@field private gameObject UnityEngine.GameObject
- ---@field private transform UnityEngine.Transform
- ---@field private uIEventHandler UIEventHandler
- ---@field private uIAnimator UITipsSkill__Generate_uIAnimator
- ---@field private AnyBtn UITipsSkill__Generate_AnyBtn
- ---@field private window UnityEngine.GameObject
- ---@field private mainInfo UnityEngine.GameObject
- ---@field private contentItem UnityEngine.GameObject
- ---@field private skillItem UITipsSkill__Generate_skillItem
- ---@field private textName UITipsSkill__Generate_textName
- ---@field private type1 UITipsSkill__Generate_type1
- ---@field private type2 UITipsSkill__Generate_type2
- ---@field private skillTag UnityEngine.GameObject
- ---@field private skillTagItem1 UnityEngine.GameObject
- ---@field private skillTagItem2 UnityEngine.GameObject
- ---@field private skillTagItem3 UnityEngine.GameObject
- ---@field private skillTagItem4 UnityEngine.GameObject
- ---@field private dscCurrent UITipsSkill__Generate_dscCurrent
- ---@field private dscNext UITipsSkill__Generate_dscNext
- ---@field private maxLevel UnityEngine.GameObject
- ---@field private max UnityEngine.GameObject
- ---@field private dscGai UITipsSkill__Generate_dscGai
- ---@field private bottomBox UnityEngine.GameObject
- ---@field private btnBox UnityEngine.GameObject
- local UITipsSkillView = class("UITipsSkillView", require("UIViewBase"))
- function UITipsSkillView:ctor()
- end
- ---@private
- function UITipsSkillView:SetActive(result)
- self.gameObject:SetActive(result)
- end
- ---@private
- function UITipsSkillView: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)
- self:InitGenerate__30(Root,data)
- self:InitGenerate__31(Root,data)
- end
- ---@private
- function UITipsSkillView:InitGenerate__1(Root, data)
- --[[
- Root
- --]]
- self.uIEventHandler = Root:GetComponent(Enum.TypeInfo.UIEventHandler)
- end
- ---@private
- function UITipsSkillView:InitGenerate__2(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 UITipsSkillView:InitGenerate__3(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 UITipsSkillView:InitGenerate__4(Root, data)
- --[[
- UIAnimator/Window
- --]]
- local tmp = Root:Find("UIAnimator/Window").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.window = tmp
- end
- ---@private
- function UITipsSkillView:InitGenerate__5(Root, data)
- --[[
- UIAnimator/Window/Bg/TopItem/MainInfo
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/MainInfo").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.mainInfo = tmp
- end
- ---@private
- function UITipsSkillView:InitGenerate__6(Root, data)
- --[[
- UIAnimator/Window/Bg/TopItem/MainInfo/ContentItem
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/MainInfo/ContentItem").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.contentItem = tmp
- end
- ---@private
- function UITipsSkillView:InitGenerate__7(Root, data)
- --[[
- UIAnimator/Window/Bg/TopItem/MainInfo/ContentItem/SkillItem
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/MainInfo/ContentItem/SkillItem").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.skillItem = CommonUtil.BindGridViewItem2LuaStatic("SkillItem", tmp)
- self.skillItem.prefabName = "SkillItem"
- tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
- end
- ---@private
- function UITipsSkillView:InitGenerate__8(Root, data)
- --[[
- UIAnimator/Window/Bg/TopItem/MainInfo/Texts/TextName
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/MainInfo/Texts/TextName").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.textName = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UITipsSkillView:InitGenerate__9(Root, data)
- --[[
- UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type1
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type1").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.type1 = tmp
- end
- ---@private
- function UITipsSkillView:InitGenerate__10(Root, data)
- --[[
- UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type1/Text1
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type1/Text1").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.type1.text1 = tmp
- tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UITipsSkillView:InitGenerate__11(Root, data)
- --[[
- UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type1/Text2
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type1/Text2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.type1.text2 = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UITipsSkillView:InitGenerate__12(Root, data)
- --[[
- UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type2
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.type2 = tmp
- end
- ---@private
- function UITipsSkillView:InitGenerate__13(Root, data)
- --[[
- UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type2/Text1
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type2/Text1").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.type2.text1 = tmp
- tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UITipsSkillView:InitGenerate__14(Root, data)
- --[[
- UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type2/Text2
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/MainInfo/Texts/Type2/Text2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.type2.text2 = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UITipsSkillView:InitGenerate__15(Root, data)
- --[[
- UIAnimator/Window/Bg/TopItem/SkillTag
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/SkillTag").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.skillTag = tmp
- end
- ---@private
- function UITipsSkillView:InitGenerate__16(Root, data)
- --[[
- UIAnimator/Window/Bg/TopItem/SkillTag/SkillTagItem1
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/SkillTag/SkillTagItem1").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.skillTagItem1 = CommonUtil.BindGridViewItem2LuaStatic("SkillTagItem", tmp)
- self.skillTagItem1.prefabName = "SkillTagItem"
- end
- ---@private
- function UITipsSkillView:InitGenerate__17(Root, data)
- --[[
- UIAnimator/Window/Bg/TopItem/SkillTag/SkillTagItem2
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/SkillTag/SkillTagItem2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.skillTagItem2 = CommonUtil.BindGridViewItem2LuaStatic("SkillTagItem", tmp)
- self.skillTagItem2.prefabName = "SkillTagItem"
- end
- ---@private
- function UITipsSkillView:InitGenerate__18(Root, data)
- --[[
- UIAnimator/Window/Bg/TopItem/SkillTag/SkillTagItem3
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/SkillTag/SkillTagItem3").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.skillTagItem3 = CommonUtil.BindGridViewItem2LuaStatic("SkillTagItem", tmp)
- self.skillTagItem3.prefabName = "SkillTagItem"
- end
- ---@private
- function UITipsSkillView:InitGenerate__19(Root, data)
- --[[
- UIAnimator/Window/Bg/TopItem/SkillTag/SkillTagItem4
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/TopItem/SkillTag/SkillTagItem4").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.skillTagItem4 = CommonUtil.BindGridViewItem2LuaStatic("SkillTagItem", tmp)
- self.skillTagItem4.prefabName = "SkillTagItem"
- end
- ---@private
- function UITipsSkillView:InitGenerate__20(Root, data)
- --[[
- UIAnimator/Window/Bg/DscBox/DscCurrent
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/DscBox/DscCurrent").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.dscCurrent = tmp
- end
- ---@private
- function UITipsSkillView:InitGenerate__21(Root, data)
- --[[
- UIAnimator/Window/Bg/DscBox/DscCurrent/Level/Level
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/DscBox/DscCurrent/Level/Level").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.dscCurrent.level = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UITipsSkillView:InitGenerate__22(Root, data)
- --[[
- UIAnimator/Window/Bg/DscBox/DscCurrent/Txt
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/DscBox/DscCurrent/Txt").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.dscCurrent.txt = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UITipsSkillView:InitGenerate__23(Root, data)
- --[[
- UIAnimator/Window/Bg/DscBox/DscNext
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/DscBox/DscNext").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.dscNext = tmp
- end
- ---@private
- function UITipsSkillView:InitGenerate__24(Root, data)
- --[[
- UIAnimator/Window/Bg/DscBox/DscNext/Level/Level
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/DscBox/DscNext/Level/Level").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.dscNext.level = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UITipsSkillView:InitGenerate__25(Root, data)
- --[[
- UIAnimator/Window/Bg/DscBox/DscNext/Txt
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/DscBox/DscNext/Txt").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.dscNext.txt = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UITipsSkillView:InitGenerate__26(Root, data)
- --[[
- UIAnimator/Window/Bg/DscBox/MaxLevel
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/DscBox/MaxLevel").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.maxLevel = tmp
- end
- ---@private
- function UITipsSkillView:InitGenerate__27(Root, data)
- --[[
- UIAnimator/Window/Bg/DscBox/MaxLevel/Max
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/DscBox/MaxLevel/Max").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.max = tmp
- end
- ---@private
- function UITipsSkillView:InitGenerate__28(Root, data)
- --[[
- UIAnimator/Window/Bg/DscBox/DscGai
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/DscBox/DscGai").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.dscGai = tmp
- end
- ---@private
- function UITipsSkillView:InitGenerate__29(Root, data)
- --[[
- UIAnimator/Window/Bg/DscBox/DscGai/Txt
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/DscBox/DscGai/Txt").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.dscGai.txt = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UITipsSkillView:InitGenerate__30(Root, data)
- --[[
- UIAnimator/Window/Bg/BottomBox
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/BottomBox").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.bottomBox = tmp
- end
- ---@private
- function UITipsSkillView:InitGenerate__31(Root, data)
- --[[
- UIAnimator/Window/Bg/BottomBox/BtnBox
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bg/BottomBox/BtnBox").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnBox = tmp
- end
- ---@private
- function UITipsSkillView:GenerateDestroy()
- if tolua.getpeer(self.dscGai.txt) ~= nil then
- tolua.setpeer(self.dscGai.txt, nil)
- end
- if tolua.getpeer(self.dscNext.txt) ~= nil then
- tolua.setpeer(self.dscNext.txt, nil)
- end
- if tolua.getpeer(self.dscNext.level) ~= nil then
- tolua.setpeer(self.dscNext.level, nil)
- end
- if tolua.getpeer(self.dscCurrent.txt) ~= nil then
- tolua.setpeer(self.dscCurrent.txt, nil)
- end
- if tolua.getpeer(self.dscCurrent.level) ~= nil then
- tolua.setpeer(self.dscCurrent.level, nil)
- end
- if tolua.getpeer(self.type2.text2) ~= nil then
- tolua.setpeer(self.type2.text2, nil)
- end
- if tolua.getpeer(self.type2.text1) ~= nil then
- tolua.setpeer(self.type2.text1, nil)
- end
- if tolua.getpeer(self.type1.text2) ~= nil then
- tolua.setpeer(self.type1.text2, nil)
- end
- if tolua.getpeer(self.type1.text1) ~= nil then
- tolua.setpeer(self.type1.text1, 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.mainInfo) ~= nil then
- tolua.setpeer(self.mainInfo, nil)
- end
- self.mainInfo = nil
- if tolua.getpeer(self.contentItem) ~= nil then
- tolua.setpeer(self.contentItem, nil)
- end
- self.contentItem = nil
- if self.skillItem.GenerateDestroy ~= nil then
- self.skillItem:GenerateDestroy()
- end
- if tolua.getpeer(self.skillItem) ~= nil then
- tolua.setpeer(self.skillItem, nil)
- end
- self.skillItem = nil
- if tolua.getpeer(self.textName) ~= nil then
- tolua.setpeer(self.textName, nil)
- end
- self.textName = nil
- if tolua.getpeer(self.type1) ~= nil then
- tolua.setpeer(self.type1, nil)
- end
- self.type1 = nil
- if tolua.getpeer(self.type2) ~= nil then
- tolua.setpeer(self.type2, nil)
- end
- self.type2 = nil
- if tolua.getpeer(self.skillTag) ~= nil then
- tolua.setpeer(self.skillTag, nil)
- end
- self.skillTag = nil
- if self.skillTagItem1.GenerateDestroy ~= nil then
- self.skillTagItem1:GenerateDestroy()
- end
- if tolua.getpeer(self.skillTagItem1) ~= nil then
- tolua.setpeer(self.skillTagItem1, nil)
- end
- self.skillTagItem1 = nil
- if self.skillTagItem2.GenerateDestroy ~= nil then
- self.skillTagItem2:GenerateDestroy()
- end
- if tolua.getpeer(self.skillTagItem2) ~= nil then
- tolua.setpeer(self.skillTagItem2, nil)
- end
- self.skillTagItem2 = nil
- if self.skillTagItem3.GenerateDestroy ~= nil then
- self.skillTagItem3:GenerateDestroy()
- end
- if tolua.getpeer(self.skillTagItem3) ~= nil then
- tolua.setpeer(self.skillTagItem3, nil)
- end
- self.skillTagItem3 = nil
- if self.skillTagItem4.GenerateDestroy ~= nil then
- self.skillTagItem4:GenerateDestroy()
- end
- if tolua.getpeer(self.skillTagItem4) ~= nil then
- tolua.setpeer(self.skillTagItem4, nil)
- end
- self.skillTagItem4 = nil
- if tolua.getpeer(self.dscCurrent) ~= nil then
- tolua.setpeer(self.dscCurrent, nil)
- end
- self.dscCurrent = nil
- if tolua.getpeer(self.dscNext) ~= nil then
- tolua.setpeer(self.dscNext, nil)
- end
- self.dscNext = nil
- if tolua.getpeer(self.maxLevel) ~= nil then
- tolua.setpeer(self.maxLevel, nil)
- end
- self.maxLevel = nil
- if tolua.getpeer(self.max) ~= nil then
- tolua.setpeer(self.max, nil)
- end
- self.max = nil
- if tolua.getpeer(self.dscGai) ~= nil then
- tolua.setpeer(self.dscGai, nil)
- end
- self.dscGai = nil
- if tolua.getpeer(self.bottomBox) ~= nil then
- tolua.setpeer(self.bottomBox, nil)
- end
- self.bottomBox = nil
- if tolua.getpeer(self.btnBox) ~= nil then
- tolua.setpeer(self.btnBox, nil)
- end
- self.btnBox = nil
- self.transform = nil
- self.gameObject = nil
- self.inited = false
- end
- return UITipsSkillView
|