使用版本:1.5.2正式版
Rect类的方法intersects()、contains()、containsRect()应该是有返回值的,不过在d.ts文件中都写成了void
不知道1.6版本有没有修改?
另外,this._super()这种写法在VS Code中也会有警告~~
浏览器预览时,也会报错

不知道是不是因为我是在子类的onLoad()中调用的
使用版本:1.5.2正式版
Rect类的方法intersects()、contains()、containsRect()应该是有返回值的,不过在d.ts文件中都写成了void
不知道1.6版本有没有修改?
另外,this._super()这种写法在VS Code中也会有警告~~
浏览器预览时,也会报错

不知道是不是因为我是在子类的onLoad()中调用的