Unity Tips 02 – View private properties on Unity inspector

Today, i will share with you the way to display private variables / properties into the Unity 3D Inspector. It’s useful when need to know the value taken by a private property whitout writing code like “Debug.Log”

whitout debug mode activated, you cannot see private members
with “debug mode” activated, you can

As you can see, in the second screenshot, we are seeing private members from the NetworkBehavior where the ItemMapSpawner is descending

Feel free to ask your questions here

Posted in Unity Tips and tagged .

Leave a Reply

Your email address will not be published. Required fields are marked *