__index = t2 --1 function t1:new() local new = {} setmetatable(new, {__index = t1}) --2 new.something = 0 return new end.
確定! 回上一頁