Quantcast
Channel: Questions in topic: "isolate"
Viewing all articles
Browse latest Browse all 10

HideInHierarchy not hiding root objects

$
0
0
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][1] to [HideInHierarchy][2], 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. [1]: https://docs.unity3d.com/Documentation/ScriptReference/HideFlags.html [2]: https://docs.unity3d.com/Documentation/ScriptReference/HideFlags.HideInHierarchy.html

Viewing all articles
Browse latest Browse all 10

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>