粒子特效图片如何用代码动态更换

this.particle.spriteFrame = this.bw_sp.getSpriteFrame(txt + “_particle”);
日志打出来是更换了,但实际效果没有。