- Home /
Is there a way to disable all hierarchy sorting
I want to disable all sorting of game objects in the hierarchy. The order should never change from what I set it. Is there a way to do that or am I out of luck?
I'm using 5.5.1.
The idea is that I treat game objects as containers and run through their contents in order.
How are they being sorted? You should be able to move them freely.
For example, the children could be in the order: SpawnEnemy, WaitForSpawnsToFinish, SpawnEnemy
but after play they become: SpawnEnemy, SpawnEnemy, WaitForSpawnsToFinish
I assume it is because of tranform ordering being applied, but I don't want that to occur.
Answer by Rockercyborg · Feb 16, 2017 at 02:01 PM
Hey! you can actually sort them however you want.
I can move them however I want, but when I hit the Play button in the editor they will sometimes reorder themselves.
Yeah that's true and it's really annoying sometimes.
Your answer
