Hi,
you can't deactivate several objects in one go ( one action), unless they are in the same hierarhchy and you disable on of their parents,
you can use tag, you could do a while loop of some sort that as long as you find a gamobject of a given tag you keep disabling, but that's dangerous.
instead I would fire a global event for these object to catch and disable themselves if it applies for them. If you have a small number of objects that's ok.
bye,
Jean