Just like the question states, I need to call on variables from multiple scripts.
The context being used here is an Options menu. The menu will provide sliders for various adjustments to the game mechanics (Player speed, Lighting effects, etc.) But i need to know how to call on a variable in another script. For example. I'd like to set a slider that would call on the player's speed variable in my FPS Controller script, but I'd like to set my GUI menu up in one single separate script attached to a hot-key (probably "O")
I don't really know how to explain it better than that, hopefully someone can give me insight on calling variables from other scripts.
(although the search feature on this site isn't great - it's often better to google, like this custom unity search -, so apologies if you already did).
answered Apr 25 '10 at 06:08 AM