Skip to content

Sort Sprites For Top Down Game

Configure Unity transparency sorting for top-down sprite scenes.

What It Does

  • Sets GraphicsSettings.transparencySortMode to CustomAxis.
  • Sets GraphicsSettings.transparencySortAxis to (0, 1, 0).

This makes sprite rendering sort by Y axis, which is a common setup for top-down games.

Parameters

This action has no parameters.

Notes

  • This changes global graphics settings for the project at runtime.
  • Call it during initialization (for example, startup/boot state) so sorting is configured before gameplay.