void OnTriggerEnter2D(Collider2D coll) { if (coll.gameObject.CompareTag(Tag)) { if (flashColorExists) { flashColor.Change(); } if (flashScaleExists) { flashScale.Change(); } if (particleSystemExists) { myParticleSystem.Play(); } } }