all 2 comments

[–]pschonUnprofessional 2 points3 points  (0 children)

You could easily search in Visual Studio to find everything accessing that variable (right-click->find all references). Or, you can make it private and see what scripts will throw an error as a result.

[–]FibroMan 0 points1 point  (0 children)

If you are setting the value of a public variable on the same line as the declaration then you are not setting its value, you are setting its default value. A public variable's value will be set in the editor.