A 2.5D isometric sorting plugin for Unity.
- Unity: 2023.2 or newer
Open Unity’s Package Manager, click the + button, and select Add package from git URL....
Paste the following URL:
https://github.com/MyNameIsDabin/UnityIsometric2D.git?path=/Assets/Isometric2D
You can also clone the entire repository and include only the scripts you need.
Check out the included sample project and open the Sample.unity scene for a working example.
- Real-time visual debugging of sorting in the Unity Editor.
- High-performance sorting powered by Unity’s Job System.
- Option to switch to a single-threaded mode for compatibility with older Unity versions.
- Attach
IsometricSortingGrouporIsometricSpriteRendererto your targetSpriteRendererorSortingGroup. - These components depend on
IsometricObject, which stores the calculated sorting order. - You can create custom sorting behavior by inheriting from the
IsometricOrderBinderclass. - To avoid performance issues when many objects are present, culling options are provided to include only visible objects in sorting.
- Automatically adjusts the isometric collision bounds based on
lossyScale. - No need to manually update the
IsometricObjectsize when flipping or scaling objects, even when parent objects are transformed.




