11 lines
266 B
Lua
11 lines
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
|