Hi. Im trying to pick up a coin with my Player, but i cant get it to work. ` using UnityEngine;
using System.Collections;
public class Coins : MonoBehaviour {
void OnTriggerEnter2D(Collider2D col){
if (col.gameObject.tag == "Coin") {
Destroy (col.gameObject);
}
}
}`