Merge pull request #2341 from nshmura/fix-types

Fix types of CCPolygonCollier and CCPhysicsChainCollider
This commit is contained in:
Jare Guo
2018-02-17 23:03:41 +08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ cc.Collider.Polygon = cc.Class({
* !#en Polygon points
* !#zh 多边形顶点数组
* @property points
* @type {[Vec2]}
* @type {Vec2[]}
*/
points: {
tooltip: CC_DEV && 'i18n:COMPONENT.physics.physics_collider.points',
@@ -53,7 +53,7 @@ var PhysicsChainCollider = cc.Class({
* !#en Chain points
* !#zh 链条顶点数组
* @property points
* @type {[Vec2]}
* @type {Vec2[]}
*/
points: {
default: function () {