改变prefab中的PhysicsBoxCollider大小

ver: 1.9.1
问一下 我手动改变预制体的中的PhysicsBoxCollider大小 prefab.getComponent(cc.PhysicsBoxCollider).size = cc.v2(xxx,yyy)
好像有错误,因为我开始添加的cc.director.getPhysicsManager().debugDrawFlags = cc.PhysicsManager.DrawBits.e_jointBit | cc.PhysicsManager.DrawBits.e_shapeBit;这个效果就没了。但是模拟器并没有报错。

这个组件的大小是自动随着prefab的大小改变而改变么,不需要手动设置吗??