Use Hierarch Order If Sorting Layer & Order Is Same

Avatar

Like the UI canvas I want the Shapes I instantiate on runtime to be drawn in the hierarchy order (spawn order). For now I set the sorting order manually for each object and it's not convenient.

Reporting a bug? please specify Unity version:
Reporting a bug? please specify Shapes version:
Reporting a bug? please specify Render Pipeline:
URP