yasirkula / UnityRuntimeInspector

Runtime Inspector and Hierarchy solution for Unity for debugging and runtime editing purposes
MIT License
1.76k stars 139 forks source link

Ignore item in hierarchy #3

Closed luizcarlosfx closed 6 years ago

luizcarlosfx commented 6 years ago

I need to use unity ignore flags so that some itens won't show in the hierarchy. Is there a way to do it?

yasirkula commented 6 years ago

Inside HierarchyItemTransform.BindTo function, you can call gameObject.SetActive(false) to hide that item's bound transform from hierarchy.