在2…4.10出现的报错,不知道怎么解决!
抱歉 2.x 对 ts 的支持不够完善,忽略这个报错即可。
this.node.position改成this.node.getPosition()
或者cc.v2(this.node.x, this.node.y)
2赞
可以了,谢谢大佬
抱歉 2.x 对 ts 的支持不够完善,忽略这个报错即可。
this.node.position改成this.node.getPosition()
或者cc.v2(this.node.x, this.node.y)
可以了,谢谢大佬