Destroy object on collision not working

I am trying to destroy an object when it collides with the trigger object, but it isn’t working.

I used the code:

using UnityEngine;
using System.Collections;

public class Collide : MonoBehaviour

void OnCollisionEnter (Collision col)
if( == “trigger”)
{ Destroy(col.gameObject); }

Any help would be appreciated, thank you.

You are trying to destroy the Trigger!!!
Instead of



Destroy (gameObject);