1
using System
.Collections
;
2 using System
.Collections
.Generic
;
5 public class RemoveObject
: MonoBehaviour
{
8 private GameObject m_linkedGameObject
;
10 protected virtual void OnTriggerEnter2D(Collider2D collision
)
12 if (collision
.gameObject
.CompareTag("YarnPhysics"))
14 Destroy(m_linkedGameObject
);