//for 2D
//remeber to set your collider to trigger
//and to give the gameobject a rigidbody and collider of its own
private void OnTriggerExit2D(Collider2D collision)
{
}
//for 2D
//remeber to set your collider to trigger
//and to give the gameobject a rigidbody and collider of its own
private void OnTriggerExit2D(Collider2D collision)
{
}