quick2.2与quick3.3的区别(4)

boundingbox对象和rect对象都作了修改,提到外部来了。

quick2.2 quick3.3 备注
boundingBox getBoundingBox
boundingBox.size.width boundingBox.width
boundingBox.size.height boundingBox.height
boundingBox.origin.x boundingBox.x
boundingBox.origin.y boundingBox.y
rect.intersectsRect(r) cc.rectIntersectsRect(r1, r2)
rect.containsPoint(p) cc.rectContainsPoint(r, p)

你可能感兴趣的:(quickcocos)