Sorting Groups allow you to group GameObjectsThe fundamental object in Unity scenes, which can represent characters, props, scenery, cameras, waypoints, and more. A GameObject’s functionality is defined by the Components attached to it. More info
See in Glossary with Sprite RenderersA component that lets you display images as Sprites for use in both 2D and 3D scenes. More info
See in Glossary together, and control the order in which they render their sprites. Unity renders SpriteA 2D graphic objects. If you are used to working in 3D, Sprites are essentially just standard textures but there are special techniques for combining and managing sprite textures for efficiency and convenience during development. More info
See in Glossary Renderers in the same Sorting Group together, as if they are a single GameObject.
Topics | |
---|---|
Set up a sorting group | Add the sorting group component to a GameObject. |
Sort Renderers within a Sorting Group | Sort renderers within a sorting group by their sorting layer and order in layer properties. |
Use Sorting Groups | Control the rendering order of complex 2D multi-Sprite characters. |
Sorting group reference | Set the priority of a a sorting group in the rendering queue. |