private void OnTriggerExit(Collider other) { if (other.GetComponent <BlockBehaviour>()) { BlockBehaviour behaviour = other.GetComponent <BlockBehaviour>(); behaviour.DeActivate(); } }
private void OnTriggerExit(Collider other) { if (other.GetComponent <BlockBehaviour>()) { BlockBehaviour behaviour = other.GetComponent <BlockBehaviour>(); behaviour.DeActivate(); } }