Particle Collision ?

How to make particle ball disappear when hit a player ? not all balls, just the one that hit player object.

Public float balls;

void OnParticleCollision(GameObject other) {
        if (other.CompareTag("Player")) {
            gameObject.SetActive(false);
        balls += 1;
                 }
    }

In particle system collision settings you can set lifetimeloss value, make it: 1
(that would destroy them in all collisions though)
2917486--215308--upload_2017-1-12_15-52-0.png

Thank you for you reply. It doesn’t work as i want.
How to make it disappear when hit player object without script ?
Can this help ?