PGRData/Resources/Scripts/XUi/XUiClickClearGame/XUiClickClearPanelGeneralFailure.lua
2022-12-26 14:06:01 +05:30

20 lines
No EOL
539 B
Lua

local textManager = CS.XTextManager
local XUiClickClearPanelGeneralFailure = XClass(nil, "XUiClickClearPanelGeneralFailure")
function XUiClickClearPanelGeneralFailure:Ctor(ui, rootUi)
self.GameObject = ui.gameObject
self.Transform = ui.transform
self.RootUi = rootUi
XTool.InitUiObject(self)
end
function XUiClickClearPanelGeneralFailure:Show()
self.GameObject:SetActiveEx(true)
end
function XUiClickClearPanelGeneralFailure:Hide()
self.GameObject:SetActiveEx(false)
end
return XUiClickClearPanelGeneralFailure