Select Debug Mode?

Hi guys,

I downloaded Unity a few days ago and have been absolutely loving it! :smile: It totally exceeded my expectations. It’s refreshing to see so much free information in the way of tutorials and documentation too. I’ve been working my way through all that stuff, and am finding my way around for the most part.

Alas, there is one very simple thing that I haven’t been able to figure out. Some of the tutorials mention that you can view private variables in the Inspector when the “Debug Mode” is selected, but I can’t seem to find where to select that. Could someone please point me in the right direction?

Thanks

hehe unity 2.5+ strikes back :wink:

You need to right click on the “Inspector” title tag, there you can switch the mode

1 Like

Ah, I knew it was going to be something ridiculously simple like that.

Thanks for the help dreamora! 8)

Nice!

So what’s the use of a private variable actually?

It hides information for what?

Thanks!

private variables can not be access from other objects at all.

they are not private for editor purpose but for programming purpose, modularisation and OO development

Just thought I’d mention that this is still not made clear in the scripting tutorial here: Learn game development w/ Unity | Courses & tutorials in game design, VR, AR, & Real-time 3D | Unity Learn

Glad I found this thread!

Jeff

STILL AN ISSUE !!!
It is very irritating that this is still a problem. Add this information in the tutorial !
The tutorials are ment for beginners, and as such should describe the process clearly, step by step.
I spent a lot of time before a found this trivial solution and it only left me irritated and frustrated…especially when it’s brought to daylight by other users.
This is not the only thing thats annyoing in the tutorial " Introcuction to the Unity Interface" .

*You can’t do step 2 before you make step 3, so this is in wrong order.
*There is no Layout called “2 split”.( step 2)
*The terms: “prefab” “lower left hand side of the Unity GUI” and " pressing space bar" are wrongl/not working. (probably information belonging to earlier versions) (step 9)
So , update the tutorials.

Right now I want to uninstall Unity…

1 Like

2019 here


While debuging a native plugin, I’ve found an other debug mode when launching Unity for Linux with gdb :wink:

Ok so if I enable debug mode in the inspector I can see the private variables, but I loose the headers… Also I don’t want to see ALL private variables of ALL components! Just mine!