【登陆界面】视频卸载判空
parent
a846715e1a
commit
de30eb3499
|
@ -60,6 +60,8 @@ function PackageManager.SetVideo(obj,Image)
|
||||||
end
|
end
|
||||||
|
|
||||||
function PackageManager.UnloadVideo()
|
function PackageManager.UnloadVideo()
|
||||||
Log("卸载视频:"..tostring(this.config.VideoName))
|
if this.config.VideoName then
|
||||||
resMgr:UnLoadAsset(this.config.VideoName)
|
Log("卸载视频:"..tostring(this.config.VideoName))
|
||||||
|
resMgr:UnLoadAsset(this.config.VideoName)
|
||||||
|
end
|
||||||
end
|
end
|
Loading…
Reference in New Issue