Hi, I’m quite new using unity, and I’m having a little problem with the gameobject Inspector that I can’t figure out how to solve after a long google search.
And it’s kind of annoying since I can’t use the dropdown to select layers/tags and the checkboxes for enable/disable the gameobject, and the static checkbox.
You seem to have accidentally activated the ‘Debug’ mode of the inspector, to toggle it back to ‘normal’ mode, click the dropdown box at the top right, then click ‘normal’.
For me, this happened when I had a class extending the Editor with this class Attribute:
[CustomEditor(typeof(GameObject))]
public class ObjectPlacer : Editor
{
//your code...
}
Apparently, this breaks the Gameobject view in the Inspector if you do (typeof(GameObject))
I solved this by using a class to only execute the Editor extention only when a GameObject with the given component was selected. So it looked like this:
[CustomEditor(typeof(ForegroundHolder))]
public class ObjectPlacer : Editor
{
//your code...
}