- Home /
Particle Emitter Emission Increase
Im trying to make flames increase their emission value over time so that the flame appears to be growing slowly as the ball goes faster and faster ( Pong game )
function Awake()
{
InvokeRepeating("IncreasedFlame", 2, 2);
}
function IncreasedFlame()
{
particleEmitter.minEmission() ++;
particleEmitter.maxEmission() ++;
}
It will show flames for a couple seconds then it goes away and doesnt come back
Comment
Answer by donutkeith · Sep 11, 2013 at 01:21 AM
I think it will work if you get rid of () and pass a particleEmitter object to the function or You need to capitalize P so that way you are talking about the class.
ParticleEmitter.minEmission()++;
particleEmitter.minEmission ++;
Your answer
Follow this Question
Related Questions
Particle delay 1 Answer
Particle emitter to emit "one-shot" on specific occasions 5 Answers
Anyone had this collision glitch? 0 Answers
Particle following Emitter Problem 3 Answers
Particle Emitter Toggle ON/OFF 1 Answer