---@class EntryUnlockDscItem__Generate_icon ---@field public gameObject UnityEngine.GameObject ---@field public uIImageSwitchSprite UIImageSwitchSprite ---@class EntryUnlockDscItem__Generate_desTxt ---@field public gameObject UnityEngine.GameObject ---@field public text TMPro.TextMeshProUGUI ---@class EntryUnlockDscItem__Generate ---@field private gameObject UnityEngine.GameObject ---@field private transform UnityEngine.Transform ---@field private rectTransform UnityEngine.RectTransform ---@field private desTxt EntryUnlockDscItem__Generate_desTxt ---@field private icon EntryUnlockDscItem__Generate_icon local EntryUnlockDscItemView = class("EntryUnlockDscItemView") function EntryUnlockDscItemView:ctor() end ---@private function EntryUnlockDscItemView:SetActive(result) self.gameObject:SetActive(result) end ---@private function EntryUnlockDscItemView:InitGenerate(Root, data) self.transform = Root self.inited = true local tmp self:InitGenerate__1(Root,data) self:InitGenerate__2(Root,data) self:InitGenerate__3(Root,data) end ---@private function EntryUnlockDscItemView:InitGenerate__1(Root, data) --[[ Root --]] self.rectTransform = Root:GetComponent(Enum.TypeInfo.RectTransform) end ---@private function EntryUnlockDscItemView:InitGenerate__2(Root, data) --[[ DesTxt --]] local tmp = Root:Find("DesTxt").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.desTxt = tmp tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI) end ---@private function EntryUnlockDscItemView:InitGenerate__3(Root, data) --[[ DesTxt/Icon --]] local tmp = Root:Find("DesTxt/Icon").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.icon = tmp tmp.uIImageSwitchSprite = tmp:GetComponent(Enum.TypeInfo.UIImageSwitchSprite) end ---@private function EntryUnlockDscItemView:GenerateDestroy() if tolua.getpeer(self.icon) ~= nil then tolua.setpeer(self.icon, nil) end if tolua.getpeer(self.desTxt) ~= nil then tolua.setpeer(self.desTxt, nil) end self.transform = nil self.gameObject = nil self.inited = false end return EntryUnlockDscItemView