Issue with private variables not showing in unity on the script in debug

Hey guys, I am having an issue. Ben shows that when you set the private variable company, that in unity while the game is running, you should be able to see the variable when you choose debug from the hamburger menu. Any ideas? Thanks.

Ok, I figured it out. It had to do with what I was clicking on that determined what was showing in the inspector. I was clicking on the asset below which doesn’t show it. I had to click on the game elements that show in the left nav tree… Ahhh. the wonderful process of learning… :wink:

Privacy & Terms