- Home /
Question by
Powdered_sugar · Feb 17, 2014 at 03:31 PM ·
c#hierarchyhideflags
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.
Comment