Hi I’m trying to use iTween to tween the value of a particle emitter and getting this error:
The best overload for the method 'iTween.ValueTo(UnityEngine.GameObject, System.Collections.Hashtable)' is not compatible with the argument list '(UnityEngine.ParticleEmitter, Boo.Lang.Hash)'.
This is my code:
var flameEnergyFlicker = .5;
iTween.ValueTo(flameEmitter,{"maxEnergy": flameEnergyFlicker,"oncomplete":"flickerOff"});
where flameEmitter is the flame emitter attached to a game object, and max energy is a property of the emitter.