Unity деактивирует всех коллайдеров GameObject

public void SetAllCollidersStatus (bool active) {
     foreach(Collider c in GetComponents<Collider> ()) {
         c.enabled = true; //Or false if you want to desactivate them all
     }
 }
Tartaud