1 is tagging all your your objects a certain prefab.
and than call it:
GameObject[] GOs = GameObject.FindGameObjectsWithTag("TagName");
// now all your game objects are in GOs,
// all that remains is to getComponent of each and every script and you are good to go.
// to disable a components
for (i=0; i<GOs.Length; i++){
// to access component - GOs*.GetComponent.<BoxCollider>()*
// but I do it everything in 1 line. GOs*.GetComponent.().enabled = false;* } another method is to use static variables or for your case function. static void FunctionToDeactivateAllScripts(){ this.enabled = false; } now when you call this function from anywhere ALL scripts containing this function will be disabled, because only 1 function exists.