--lua端的ui管理器 提供一些全局接口 -- LuaUiManager = LuaUiManager or BaseClass() --旧代码 后续的代码请使用ImageExtend组件 然后调用image.alpha来控制 function SetAlpha(image,alpha) if image then image.color = Color(image.color.r,image.color.g,image.color.b,alpha) end end function GetAlpha(image) if image then return image.color.a end end