Files
JJBB/Assets/Project/Script/LuaScripts/UI/Lua/Copy/ZiJinYop/ZiJinCopySenesConceallogic.txt
2024-08-23 15:49:34 +08:00

20 lines
648 B
Plaintext

-- 在紫荆之巅 副本中 隐藏其他活动入口(活动开启提示除外)
require("LuaUtil")
require("Util")
ZiJinCopySenesConceallogic = {}
function ZiJinCopySenesConceallogic.AWake( ... )
end
function ZiJinCopySenesConceallogic.OnEnable()
if CS.GameManager.gameManager.m_RunningScene == 658 then
--self.gameObject:SetActive(false)
findBtn:GetComponent("Button").gameObject:SetActive(false)
winBtn:GetComponent("Button").gameObject:SetActive(false)
else
findBtn:GetComponent("Button").gameObject:SetActive(true)
winBtn:GetComponent("Button").gameObject:SetActive(true)
end
end