- Home /
How do you see the private vars in Debug Mode?
I have located the little control that allows me to switch to the Inspector to Debug mode. I select Debug mode and run my program, but I still only see the public vars in the inspector. Shouldn't I be able to see the private vars also?
Answer by icemacsea · Oct 29, 2012 at 03:50 PM
OK, I get it now. You only see the private vars that are at the module level, not the local vars in your functions. D'oh!
Your answer
![](https://koobas.hobune.stream/wayback/20220613083040im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Why inpector keeps methods assigned when changed from public to private 2 Answers
What are "template custom keys" in the Player settings? 0 Answers
Playable Director in Debug inspector mode 1 Answer
How to properly make a player stats easily editable while keeping them private 1 Answer
Make serialized field not editable in debug inspector 2 Answers