CocosCreator 在编辑器中隐藏父类的属性
const{ccclass,property}=cc._decorator;
@ccclass
export default class CustomJoint extends cc.Joint{
@property({override:true,visible:false})
connectedBody:cc.RigidBody;
onLoad(){
}
}
const{ccclass,property}=cc._decorator;
@ccclass
export default class CustomJoint extends cc.Joint{
@property({override:true,visible:false})
connectedBody:cc.RigidBody;
onLoad(){
}
}