- Home /
Question by
Geta-Ve · Mar 24, 2014 at 07:30 AM ·
variablespropertiesglobal
One script for all variables?
Just a quick question, I was wondering if it makes sense to reference my public variables through one script instead of having them spread out over my many scripts?
My thought process for this was that it would be, at least, more convenient for me to just look through one "properties" gameobject that has all the settings and tweaks for my various script, instead of having to search through all the prefabs and what have you to quickly iterate through changes.
Does this make sense? Or is this a big no-no in game programming?
Apologies if this seems obvious... :)
Thanks!
Comment
Your answer
Follow this Question
Related Questions
Changing static variables from another script? 1 Answer
Easily cleaning up \ deleting unused variables? 2 Answers
Error BCE0077 1 Answer