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