PGRData/Script/matrix/xmovieactions/XMovieActionSetBg.lua

11 lines
266 B
Lua
Raw Normal View History

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