PGRData/Script/matrix/xmovieactions/XMovieActionSetBg.lua

11 lines
No EOL
266 B
Lua

local XMovieActionSetBg = XClass(XMovieActionBase,"XMovieActionSetBg")
function XMovieActionSetBg:Ctor(actionData)
self.BgPath = actionData.Params[1]
end
function XMovieActionSetBg:OnRunning()
self.UiRoot:SetMixBg(self.BgPath)
end
return XMovieActionSetBg