hitParticles = GetComponentInChildren (ParticleEmitter);
Right now this code is just accessing the first particle emitter in the parent.How would I specify whitch particle emitter i want to access?
Thanks,
David
hitParticles = GetComponentInChildren (ParticleEmitter);
Right now this code is just accessing the first particle emitter in the parent.How would I specify whitch particle emitter i want to access?
Thanks,
David
hitParticles = transform.Find(“NameOfChild”).GetComponent(ParticleEmitter);
–Eric
Thank you