摘要: lua表 local obj = { 1, ["a"] = "A", 2, ["b"] = "B", 3, } Cast执行后的结果 var dict1 = luaObj.Cast<Dictionary<string, string>>(); Debug.Log($"keys cnt: {dict1 阅读全文
posted @ 2026-03-29 00:03 yanghui01 阅读(11) 评论(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 阅读(9) 评论(0) 推荐(0)