摘要: 测试代码 string luaStr = @" local obj = { 1, ['a'] = 'A', 2, ['b'] = 'B', [3.1] = 3.5, } return obj "; var results = m_LuaEnv.DoString(luaStr); var luaObj 阅读全文
posted @ 2026-03-29 00:03 yanghui01 阅读(18) 评论(0) 推荐(0)
摘要: public static bool IsPureArray(LuaTable table) { int maxIndex = 0; int count = 0; bool hasNonInteger = false; table.ForEach<object, object>((key, valu 阅读全文
posted @ 2026-03-29 00:01 yanghui01 阅读(16) 评论(0) 推荐(0)