private void OnTriggerExit(Collider other) { if (_onTriggerExitEvent.IsAssigned()) { _onTriggerExitEvent.Invoke(other); } }
private void OnTriggerEnter2D(Collider2D other) { if (_onTriggerEnterEvent.IsAssigned()) { _onTriggerEnterEvent.Invoke(other); } }