lua 中self的作用. self其實就相當於Java,C++中的this對象,我們看代碼:. a = {x = 3, y = 4} a.__index = function(table, key) print("__index") return a[key] end ...
確定! 回上一頁