private void OnTriggerEnter(Collider other) { BlockController block = other.GetComponentInParent <BlockController>(); if (block != null) { block.Death(other.gameObject); } }