using UnityEngine;

public class PlayerDamageTest : MonoBehaviour
{
	void OnTriggerEnter2D(Collider2D collision)
	{
		Debug.Log("HIT SOMETHING");

		if (collision.CompareTag("EnemyBullet"))
		{
			Debug.Log("PLAYER HIT");
			Destroy(collision.gameObject);
		}
	}
}