Figuring out status (sleep/awake in this example) of objects

Hi!

Quite straight forward example. I have a quite complex physics setup and would like to custom check my objects.

My current approach is a “onMouseButton” which gives a Debug.Log with the status, but I would love to be able to press the Pause button, select an object and … well, use the inspector to inspect an object, not to see the setup it was once upon a time spawned with :slight_smile:

In general, I’m not proficient with debugging in Unity, any links to good tutorials are appriciated as well!

Thanks!

The values you see in the Inspector are the public one at the current time, but if you want to see the private ones, tick the little down arrow in the top right corner of the Inspector, nect to the lock and choose Debug. This will show all private members. Note static won’t show ever as well as Dictionary, even public ones.

Now the best for debug and development would be to learn the Unity Unit Test.

It is free.