|
马上注册,下载996引擎,与更多游戏开发者交流。
您需要 登录 才可以下载或查看,没有账号?注册
×
SL:SaveTableToConfig怎么用?SL:SaveTableToConfig({ 1, 2, 3 }, "test")这样试了试报错[LUA-print] LUA ERROR: [string "scripts/cocos/cocos2d/functions.lua"]:430: bad argument #1 to 'pairs' (table expected, got number)
[LUA-print] stack traceback:
[string "scripts/main.lua"]:14: in function <[string "scripts/main.lua"]:12>
[C]: in function 'pairs'
[string "scripts/cocos/cocos2d/functions.lua"]:430: in function 'tkeys'
[string "scripts/GUI/SL.lua"]:590: in function 'ser_table'
[string "scripts/GUI/SL.lua"]:632: in function 'serialize'
[string "scripts/GUI/SL.lua"]:654: in function 'SaveTableToConfig' |
最后回复时间:2024-11-07 15:18:55官方回复了此贴
|