lua 中self的用法,--冒号:在定义时省略了self--点号:在定义时不 ... 等价于-- function Class.test(self) print(self.x,self.y) end object ...
確定! 回上一頁