I used this code to disable both colliders on my character when he dies:
Collider2D colliders = GetComponents();
foreach (Collider2D collider in colliders)
{
collider.enabled = false;
}
The effect is cool. The he goes into his death animation and then plummets off screen…