-- 在紫荆之巅 副本中 隐藏其他活动入口(活动开启提示除外) 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