kingBook

导航

CocosCreator 在编辑器中隐藏父类的属性

const{ccclass,property}=cc._decorator;
@ccclass
export default class CustomJoint extends cc.Joint{
	
	@property({override:true,visible:false})
	connectedBody:cc.RigidBody;
	
	onLoad(){
		
	}
	
}

posted on 2020-08-06 10:52  kingBook  阅读(312)  评论(0编辑  收藏  举报