private void OnTriggerExit2D(Collider2D other) { ITouchable touchable = other.gameObject.GetComponent <ITouchable>(); if (touchable != null) { touchable.Untouch(); } }
private void OnTriggerExit2D(Collider2D other) { ITouchable touchable = other.gameObject.GetComponent <ITouchable>(); if (touchable != null) { touchable.Untouch(); } }