摘要: 标准写法是:local b = {}b.__index = {}function b.__index:func1(name) ...endfunction b.__index:func2(name) ...end简写:local b = {}b.__index = bfunction b:func1 阅读全文
posted @ 2021-06-25 15:58 HaHahahahaaaa 阅读(43) 评论(0) 推荐(0) 编辑