can object change color when collided with particles unity code example
Example: can object change color when collided with particles unity
particle.GetComponent<ParticleSystemRenderer>().material = newMaterial;
particle.GetComponent<ParticleSystemRenderer>().material = newMaterial;