如题 Cocos Creator node.setContentSize 不起作用
var node = new cc.Node('mingmah_' + s); var sp = node.addComponent(cc.Sprite); sp.spriteFrame = images["images"+upr]["mingmah_"+data[s]]; node.setContentSize(cc.size(70,106)); node.parent = this.node;
找了许久都没方案,求解