You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
local resManager = LuaFramework.LuaHelper.GetResManager()
local ret = resManager:LoadPrefab("shared_asset",
{"ButtonClick", "ButtonClick.png", "Shared/ButtonClick", "Shared/ButtonClick.png"},
function(objs)
for i=0,objs.Length-1 do
print("OBJS:", i, objs:GetValue(i)) -- 输出nil
end
end
)
print("ret", ret) -- 输出nil
我是这样写的,但只能取到nil,也没有找到相关的文档和例子,请高手指导下
The text was updated successfully, but these errors were encountered:
我是这样写的,但只能取到nil,也没有找到相关的文档和例子,请高手指导下
The text was updated successfully, but these errors were encountered: