Need some suggestion

Hi guys
I am working on my First Game

and i am a little bit confuse about logic .
I have a player ball if it leaves the platform then it should be destroy because sometimes my enemy push my player in the corner and it will Exit the collide of the player ball from the platform .
So when i use

void OnCollisionExit(Collision col)
    {
        if(col.transform.tag =="Ground"){

        Destroy(gameObject);
        }
    }

then player destroy when it make a small jump by crashing with walls or just destroy when anything game object touches and exit collision from it or .

So instead of using the OnCollisionExit method, you could create another MonoBehaviour and use the OnTriggerEnter method then create colliders marked as triggers to designate the area where the player is supposed to ‘die’.

Also, this should be placed in the Scripting sub-forum.

Ok thanks , next time i will keep this in my mind .