Here is my current code snippet.
Code: Select all
if (thisEffectName == fxOld) { // found an old effect
thisEffect.remove();
currentEffects.addProperty(fxNew);
}
Any ideas?
Thanks.
Phil