예제 #1
0
 void OnTriggerEnter2D(Collider2D collision)
 {
     Destroy(gameObject);
     ItemsController.DestroyItem(gameObject);
 }