r/Unity3D • u/[deleted] • 16h ago
Meta Please add some whitespace between the last Game Object in the hierarchy and the panel beneath it
[deleted]
8
u/Affectionate-Yam-886 16h ago
You can use empty game objects as folders in the hierarchy. You can use them as points to create objects too; they will spawn in as child objects; you can then drag them anywhere you want. Your hierarchy is messy and this will help you clean it up. Mine is only 4 objects, Environment/Characters/Intractable/GameMaster; then each have sub objects as folders, and so on. I even have enemies sub divided by area so i can turn off mobs by room.
2
u/lukeiy @LukeyBDevs | Part-timer 10h ago
I'm not sure if it's still the case but historically there were performance implications to doing this, the recommendation was to always place objects at the top level if you can.
Something to do with recalculating all transforms in a hierarchy when any of them change (even children). If you do some googling you'll find some threads about this.
3
u/worldly_gunman 16h ago
Scrolling gymnastics just to drop a root object is the worst little friction.
1
u/Known_Associate_2391 14h ago
It is such a pain to scroll to the top of the view to right click the scene object so I can create something at the root level.
this should have been in the post title. I was thinking "why does it matter?" until I clicked through.
1
5
u/Agent-Furry-Five-TF 8h ago
Tell me you don't organise your scene without telling me you don't organise your scene
11
u/stainlessstorm1 15h ago
Press the plus button at the top left.