语言/控件系统升级,移除LANG.setPublicText

This commit is contained in:
MrZ626
2021-01-13 02:10:41 +08:00
parent ecd8354d8f
commit 1a212fb64b
8 changed files with 83 additions and 128 deletions

View File

@@ -837,10 +837,8 @@ function WIDGET.set(list)
end
function WIDGET.setLang(widgetText)
for S,L in next,SCN.scenes do
if widgetText[S]then
for _,W in next,L.widgetList do
W.text=W.fText or widgetText[S][W.name]
end
for _,W in next,L.widgetList do
W.text=W.fText or widgetText[S][W.name]
end
end
end