Lua 中的每一个表都有其Metatable。Lua默认创建一个不带metatable的新表 t = {} print(getmetatable(t)) --> nil. 可以使用setmetatable函数设置或者改变一个表的 ...
確定! 回上一頁