Explosion triggers another explosion

hey guys , i wanna achieve like a chain reaction with explosions with a sphere raycast:

°there’s box (1)

°and there’s Box(2) near box(1)

–is it possible to ( when box(1) gets destroyed(explode) , the explosions will affect box(2) and make it destroy(explode) too )

i have this script but it’s not working =( , help thanks !

function Update () {
 
       var hit : RaycastHit;
       var hitColliders : Collider[];
 
       hitColliders = Physics.SphereCastAll (transform.position, 100.0, hit, 10);
 
       for (var objCollider : Collider in hitColliders) {
         objCollider.root.gameObject.SetActive(false);
       }
    }

Try to increase first box’s collider with the explosion and set trigger to true for boxes’ collider.

On that way, the explosion effect will increase the collider of your box and hit the second box’s collider and raise an event to your function onTriggerEnter.

Hope it helps.