how do I check if boolean from multiple triggers are true?

I have 27 triggers in my scene all with the same script that has a bool. I need to be able to check if the bool on all the objects is true from another script. How woukd I go about doing this?

make the bool variable static.

Could you have a GameManager script that holds an integer, lets say ‘TriggerCounter’. Each time you set a bool to true, access the TriggerCounter on the GameManager script and increase it by 1. Then you can check to see if TriggerCounter is equal to 27 whenever you need to.