コード例 #1
0
 void OnTriggerEnter2D(Collider2D other)
 {
     Debug.Log("here");
     if (other.CompareTag("Block"))
     {
         Destroy(other);
         iconController.TakeDamange();
     }
 }