Setting variable across range of objects that share same script

I have a series of waypoint gameobjects in my game. About 30 of them spread across 5 different tags. Each one has the same script that holds a few variables.

I want to reset the variables in runtime across all of the waypoints. Do I have to loop through each one or is there a way to just say “set all variables on that script (across all objects) to this” ?

PS: I’m a Unity nub

Look into UnityEvents IMO- it can do exactly what you want with one line in Start and one additional function for receiving the callback. You could also just make a manager object (with a manager script) that keeps a list of all of these various objects all the time (they can just add themselves to the master list in Start, so it’s one extra line of code for them), so that searching by tags won’t be necessary.