- Home /
This question was
closed Mar 15, 2013 at 01:42 AM by
robertbu for the following reason:
Duplicate Question
How do I check a boolean from another script in C#?
I'm trying to make a script that changes some of a flashlight's values when I hold down a button, but I don't want it to work unless if the flashlight is on.
Thanks
Comment
If you Google anything like "how do I access another script in unity," you are going to find 100's, perhaps 1000's, of hits. Here is the Unity Reference Page: