Hi!
My player game object has several dummy children, each one containing a ParticleSystem.
I use them to trigger several effects whenever needed (since attaching several particle systems to one gameobject is impossible I think).
I’m trying to figure out the correct way to do this (c#):
GetComponentInChildren("particle_stars").GetComponent<ParticleSystem>().enabled=true;
I can’t use transform.Find since I have two players that both have the same children, as you can see on the picture.
I might also be approaching this the wrong way…any suggestions?
Thank you!!