Search Unity

Feedback Feature Request: Sprite Sorting Layer at same Position

Discussion in '2D' started by SuperFranTV, Dec 8, 2021.

  1. SuperFranTV

    SuperFranTV

    Joined:
    Oct 18, 2015
    Posts:
    140
    Hello, i want something like seen in this picture:

    I need the function to set differend Layers at the same Height, because the Entity is splitted into differend parts, but each of the parts should be at the same height as the objects are (like a Tree).

    Currently if i'am doing this, the Body is behind the Tree but the Head is above the Tree (if i'am using custom transparency sort order for Tiles who are 2-Tiles high). So how can i solve this or can the Sorting Layer System changed into this?

    Thanks, have a nice Day.
     
  2. rarac

    rarac

    Joined:
    Feb 14, 2021
    Posts:
    570
    theres already

    its called sorting group
     
  3. SuperFranTV

    SuperFranTV

    Joined:
    Oct 18, 2015
    Posts:
    140
    Yes i know thats the sorting thing in the spriter renderer at the bottom?
     
  4. Lo-renzo

    Lo-renzo

    Joined:
    Apr 8, 2018
    Posts:
    1,514
  5. rarac

    rarac

    Joined:
    Feb 14, 2021
    Posts:
    570
    no
     
  6. SuperFranTV

    SuperFranTV

    Joined:
    Oct 18, 2015
    Posts:
    140
    Okay this solved it i dont know about the SortingGroup Feature.