I’m using Chris Nolet’s QuickOutline Asset from the Unity Asset Store. Unfortunately, it turns out that the Outline effect also affects Particle Systems. (My particle system is a child of the game object) It turns the 2D sprites into squares, which I would rather not happen. Can I prevent the Outline from affecting certain game objects or particle systems? Is there another way to fix this? Thanks
You can filter by component like this with using Linq:
In this example, we are filtering ParticleSystem children.
renderers = GetComponentsInChildren<Renderer>().Where(e => e.GetComponent<ParticleSystem>() == null).ToArray();