1 using System.Collections;
2 using System.Collections.Generic;
5 public class Thorn : MonoBehaviour
7 private void OnTriggerEnter2D(Collider2D collision)
9 if (collision.gameObject.CompareTag("Bullet"))
11 Destroy(collision.gameObject);
12 gameObject.SetActive(false);