Version: Unity 6.2 Alpha (6000.2)
Language : English
Sprite Editor Data Provider API
Set up a sorting group

Sorting groups

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.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答
Sprite Editor Data Provider API
Set up a sorting group
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961