OnCollisionenter membandingkan tag
private void OnCollisionEnter2D(Collision2D col)
{
//for "OnCollision" you need "gameObject" listed not just "CompareTag"
if (col.gameObject.CompareTag("weapon"))
{
Destroy(gameObject);
}
}
A_Person