Experimental: this API is experimental and might be changed or removed in the future.

DrawRendererSortMode.CustomAxis

매뉴얼로 전환

설명

Sort objects based on distance along a custom axis.

Objects are sorted based on distance along a custom axis. For example, you could specify this mode and the axis to be (0.0f, 1.0f, 0.0f). This will effectively make renderers sorted to the back as they go up in Y. This is a common feature of 2.5D games.

Note: This has a lower priority compared to other sorting criterias such as SortingLayer.