Any suggestions on how do i achieve a similar effect to this :
Effect can be viewed at 0:25.
So far i have random intervals set as though when i want the particle to play.
However i am unable to achieve “one shot” particles.
void Awake()
{
particles.enableEmission = false;
InvokeRepeating("SpitFlames", 2f, 10f);
}
void SpitFlames()
{
int x = Random.Range(0,6);
if( x == 0)
print("Hello"); // Play One Shot Particle Here.
// If i use ParticleSystem.play(); it fires but dosent stop even though looping is turned off.
}