Hi, all
Let me keep my question simple
Will the complexity of hierarchy affects performance? ( I mean to have parent objects with many children and children with many sub children)
Regards.
Hi, all
Let me keep my question simple
Will the complexity of hierarchy affects performance? ( I mean to have parent objects with many children and children with many sub children)
Regards.
It depends.
A deep-nested hierarchy, in itself, won’t have performance implications. But if you’re traversing that hierarchy (using Transform.Find, say), or manipulating objects in such a way that a number of other objects are affected (e.g. adjusting the scale of a parent object with many children), then it could differ compared to a flat hierarchy.
But then again, you’ve also got to consider what makes most sense when logically arranging the objects in your scene. I’d happily take a minor performance hit in return for a neat scene hierarchy that improved my development productivity…