How to destroy multiple box colliders through C# script

Hello,
I have an enemy with multiple box colliders and an enemy script. What I need to happen is when the enemy dies, all the box colliders get destroyed (I am using Unity 2020.1.1f1 and Visual Studio 2019). here is my script:

using UnityEngine;

public class Enemy : MonoBehaviour{


    public Animator death;

    public float health = 50f;

    public void TakeDamage(float amount)


    {
        health -= amount;
        if (health <= 0f)
        {
            Die();
        }
    }

    void Die()
    {
        death.SetTrigger("IsDead");
        
    }

If anyone could help it would be GREATLY appreciated.

Use Destroy() to remove the collider from your enemy gameobjects. Here’s the link buddy: Unity - Scripting API: Object.Destroy


Here’s the sample code for destroying components:

void DestroyComponent()
    {
        // Removes the rigidbody from the game object
        Destroy(GetComponent<Rigidbody>());
    }