- Home /
[Advanced Inspectors] Custom Scene Inspector Problems
Hey Everyone!
I am working on making a custom scene inspector for Unity but I am running into some issues. I will first give you the run-down of what I am doing to get to this point.
I have a system that copies Unity's pattern of reflection for creating custom inspectors for objects. I have a base class for all custom inspectors that I search for and check if they are a valid inspector for this type of object. From there it gets all the valid inspectors and put them in a list. This allows you to have more then one inspector.
This all works perfectly and allows me to draw inspectors for Folders, Scenes, Prefabs, ect. My Only issues is drawing an inspector for scenes. As you can see below my test inspector always shows up disable. I can't get input. This only happens for the .unity classes.
My question is has anyone else run into this and did they have any luck fixing it?
Thank you!
.Unity Inspector [No input :(]
ScriptableObject Inspector [Working great :)]
Answer by BMayne · Sep 13, 2014 at 06:31 PM
For anyone looking for the answer to this, I found it. The HideFlags for .unity (scenefiles) assets by default are set to NotEditable. Change that and you will be able to select yourange buttons again!
Your answer
Follow this Question
Related Questions
Custom Transform Editor in Scene Editor 2 Answers
Overwrite the inspector window on Scene Asset heading chosen in the hierarchy window 0 Answers
Is there an event being fired off when the Inspector is being resized? 1 Answer
I'm unable to see gameobject icons and stuff in scene view. 1 Answer
Cannot close Preview Scene 0 Answers