- Home /
Gameobject Inspector display is ... different
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.
So what happens is that it looks like this: http://postimg.org/image/ldgcwgyi9/
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.
Does anyone have a solution for this?
Didn't want to answer as a answer because it might not be the case. But this happened to me too some time ago when I was using a map tiling script and it did a similar thing for me. I fixed it by just removing the script. So if you are using someone elses script this may be the cause
Answer by DeathDev · Jun 16, 2015 at 05:44 AM
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'.
Image example:
Answer by $$anonymous$$ · Jun 17, 2015 at 03:21 AM
Thanks for the reply, however it didn't solve the problem it looks like it was already on normal mode:
Did you ever find a solution for this? $$anonymous$$ine started displaying the same way after I imported the Google Play Plugin. I thought maybe some editor plugin broke it, but I can't seem to find a way to set it back.
Answer by Democore · Aug 22, 2017 at 01:03 PM
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...
}
Hope this helps!
Your answer
Follow this Question
Related Questions
Checking if a position is occupied in 2D? 1 Answer
Cannot deactivate / activate gameobject, even in editor! 6 Answers
What is the best way to manage gameobjects in a scene to conserve memory? 0 Answers
unity2D colliders not working properly,,Unity2D Colliders don't seem to be working HELP PLEASE! 0 Answers
How to respawn an object when collision happens with a different object? 1 Answer