コード例 #1
0
 private void OnCollisionEnter2D(Collision2D col)
 {
     if (col.gameObject.tag == "Player")
     {
         spawner.DeletePoints(gameObject);
     }
 }