示例#1
0
 public void OnTriggerEnter(Collider other)
 {
     if (other.gameObject.tag == "Block")
     {
         player.LoseScore(1);
         Destroy(other.gameObject);
     }
 }