| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- ---@class IconLightRed__Generate
- ---@field private gameObject UnityEngine.GameObject
- ---@field private transform UnityEngine.Transform
- ---@field private lightCircle UnityEngine.GameObject
- ---@field private lightIcon UnityEngine.GameObject
- local IconLightRedView = class("IconLightRedView")
- function IconLightRedView:ctor()
- end
- ---@private
- function IconLightRedView:SetActive(result)
- self.gameObject:SetActive(result)
- end
- ---@private
- function IconLightRedView: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 IconLightRedView:InitGenerate__1(Root, data)
- --[[
- Root
- --]]
- end
- ---@private
- function IconLightRedView:InitGenerate__2(Root, data)
- --[[
- LightCircle
- --]]
- local tmp = Root:Find("LightCircle").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.lightCircle = tmp
- end
- ---@private
- function IconLightRedView:InitGenerate__3(Root, data)
- --[[
- LightIcon
- --]]
- local tmp = Root:Find("LightIcon").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.lightIcon = tmp
- end
- ---@private
- function IconLightRedView:GenerateDestroy()
- if tolua.getpeer(self.lightIcon) ~= nil then
- tolua.setpeer(self.lightIcon, nil)
- end
- if tolua.getpeer(self.lightCircle) ~= nil then
- tolua.setpeer(self.lightCircle, nil)
- end
- self.transform = nil
- self.gameObject = nil
- self.inited = false
- end
- return IconLightRedView
|