例如
var test = new cc.Sprite();
test .setTag(99);
this.addChild(test);
this.test2 = new cc.Sprite();
this.addChild(this.test2);
使用的时候
this.getChildByTag(99);
this.test2
这两种方式哪种更好呢
例如
var test = new cc.Sprite();
test .setTag(99);
this.addChild(test);
this.test2 = new cc.Sprite();
this.addChild(this.test2);
使用的时候
this.getChildByTag(99);
this.test2
这两种方式哪种更好呢