mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-02 00:22:43 +08:00
Merge pull request #2341 from nshmura/fix-types
Fix types of CCPolygonCollier and CCPhysicsChainCollider
This commit is contained in:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user