ccc pool

var sp = new _ccsg.Sprite("a.png");
this.addChild(sp);
cc.pool.putInPool(sp);
cc.pool.getFromPool(_ccsg.Sprite, "a.png");
posted @ 2016-05-06 13:40  yufenghou  阅读(103)  评论(0编辑  收藏  举报