up
This commit is contained in:
@@ -87,16 +87,18 @@ do
|
||||
|
||||
-- 加载hud alert
|
||||
function CLLPSplash.addAlertHud()
|
||||
local onGetObj = function(name, AlertRoot, orgs)
|
||||
AlertRoot.transform.parent = CLUIInit.self.uiPublicRoot
|
||||
AlertRoot.transform.localPosition = Vector3.zero
|
||||
AlertRoot.transform.localScale = Vector3.one
|
||||
NGUITools.SetActive(AlertRoot, true)
|
||||
end
|
||||
CLUIOtherObjPool.borrowObjAsyn("AlertRoot", onGetObj)
|
||||
-- local onGetObj = function(name, AlertRoot, orgs)
|
||||
-- AlertRoot.transform.parent = CLUIInit.self.uiPublicRoot
|
||||
-- AlertRoot.transform.localPosition = Vector3.zero
|
||||
-- AlertRoot.transform.localScale = Vector3.one
|
||||
-- NGUITools.SetActive(AlertRoot, true)
|
||||
-- end
|
||||
-- CLUIOtherObjPool.borrowObjAsyn("ToastRoot", onGetObj)
|
||||
getPanelAsy("ToastRoot", doShowPanel)
|
||||
end
|
||||
|
||||
function CLLPSplash.hideFirstPanel()
|
||||
do return end
|
||||
---@type Coolape.CLPanelLua
|
||||
local p = CLPanelManager.getPanel(MyMain.self.firstPanel)
|
||||
if (p ~= nil and p.gameObject.activeInHierarchy) then
|
||||
|
||||
Reference in New Issue
Block a user