- Home /
Duplicate Question : http://answers.unity3d.com/questions/642010/hideinhierarchy-not-hiding-root-objects.html
HideInHierarchy not hiding root objects
Hello all.
I am trying to write a simple "isolate selected" script, and am running into a problem.
When I go to set and object's hideflag to HideInHierarchy, it works fine for every object except the root objects in the hierarchy. For example:
Walls
Wall 1
Wall 2
Wall 3
If I set any of the child objects' HideFlags to HideInHierarchy, they turn off in the hierarchy just fine, but if I try to set "Walls" HideFlag to HideInHierarchy, it will remain on in the hierarchy.
I've read on here and elsewhere that HideInHierarchy is bugged, but those were in older threads, and I was wondering if this was still the case. If not, does anyone know how I can solve this issue?
Thank you in advance for any help.
Follow this Question
Related Questions
HideInHierarchy not hiding root objects 0 Answers
Multiple Cars not working 1 Answer
How do I force a GameObject with children to collapse and expand in the hierarchy view? 1 Answer
How to refer to objects, scripts, textures in Assets in C#? 0 Answers
How to hide parent in Hierarchy and maintain child? 0 Answers