I am trying to change a boolean on a single or multiple objects through a certain radius.
I was thinking of having these variables set up
I was thinking that you guys at unityanswers could help me make a script that would find GameObjects with the tag activated and if there in a certain distance the script placed on those objects would have a boolean and it would make it true.
how about this-
And then put a MonoBehaviour on every object you want to affect with this called 'ScriptWithBooleanOnIt' (name not important), and make sure it has a public bool called 'booleanValue'.
answered Sep 20 '11 at 02:03 AM