Version: Unity 6 (6000.0)
Language : English
Sort sprites using scripts
Sprite Renderer

Sprites sorting reference

There are four Transparency Sort Mode options available:

Sort Mode Description
Default Sorts based on whether the CameraA component which creates an image of a particular viewpoint in your scene. The output is either drawn to the screen or captured as a texture. More info
See in Glossary
’s Projection mode is set to Perspective or Orthographic.
Perspective Sorts based on perspective view. Perspective view sorts sprites based on the distance from the Camera’s position to the 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
’s center.
Orthographic Sorts based on orthographic view. Orthographic view sorts sprites based on the distance along the view direction.
Custom Axis Sorts based on the given axis set in Transparency Sort Axis.
Sort sprites using scripts
Sprite Renderer
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961