private void OnCollisionExit2D(Collision2D collision) { IPickable pickable = collision.collider.GetComponent <IPickable>(); if (pickable != null) { pickable.OnLeft(gameObject); } }