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