Sprite Layers

When working with sprites in the same layer, I noticed that the sprites/GameObjects that are created first are automatically on a higher layer than those created after them.

Is there any way to change this behavior to make the last GameObject created the highest in its layer?

Perhaps it isn’t what you are looking for, but when the sprites are created you can set the sortingOrder and sortingLayer programatically with sprite.sortingOrder and sprite.sortingLayerName.

Don’t think of it so much as when the object is created but when it’s layer is assigned. I believe setting the layer in the start function for the specific sprites you want should solve the problem.