在Lua 中,您可以使用元表和 __index & __newindex 来做到这一点。方法。 --Lua code o = setmetatable({},{__index=function(self,key) print("tried to undefined ...
確定! 回上一頁