How to solve your Unity 2D sprite sorting / layer issues!

preview_player
Показать описание
A lot more active on Twitter @IndieGameDAV

This addresses some important setting up of unity to address
unity sprite layering issues that many people have.

The promised code..

using UnityEngine;
using UnityEngine.Rendering;
using UnityEditor;
[InitializeOnLoad]
class SpriteSorter
{
static SpriteSorter()
{
Initialize();
}
[RuntimeInitializeOnLoadMethod]
static void Initialize()
{
}
}
Рекомендации по теме
Комментарии
Автор

Thank the sorting layer fixed my issue!

jamessoth
Автор

Thank you very much! Your video is so helpful!

dungleanh
Автор

OMG....you saved me having to completely reword my multi animations. THANK YOU!!!

privateHandle
Автор

Thanks a lot! My problem solved when i set 0 1 1 on the settings! Thanks! :) Keep going

lupiyobr
Автор

Wow, really helpful bro! Thank you so much for fast tut!

НейроАстральнаяСова
Автор

Bro I LOVE you, you don't have a CLUE on how much you helped me right now. You're a lifesaver, I swear

latexgrime
Автор

After more than three years after publication, you still saved me. Would never have thought of it, thank you!👍

benno
Автор

Why was this simple answer so hard to find? You just saved my semester project, thank you!!

Yumenoki
Автор

Just wanted to thank you for helping me with this issue. My old version of unity stopped working suddenly, and had to upgrade to a recent version. It broke a lot of things. All that was left was sorting issue. Your video helped me get back to dev work in less than 5 min. Thank you once again.

PrateekJadhwani
Автор

This video should be awarded a Nobel prize!

ThePancakeJedi
Автор

Thank you! You saved me from writing complex code.

Hufi
Автор

Thank you so much, bro, I had em troubles with sorting layers

cahwardev
Автор

OMG. I special thanks for this tutorial :D

trungduonglephuoc
Автор

Thank you Sir, you're save my life

billyfrcs
Автор

It's crazy how this isn't being explained anywhere. Am i just expected to know this magically the first time i make a project?

Sennken
Автор

holy shit this is gold! Thank YOU!! this solved both my character body parts layer problem and the character to character layer problem.

Monzi
Автор

Thank you for this, I started to work with Animate 2D (inverse kinematics) and I use a lot of sprites instead of one, and I afraided about the layer sorting issue. You are awesome!

csababaranyai
Автор

Commenting so that other people will know this really awesome tutorial, 3 minute video, no coding, straight to the point, thank you very much...

edgyteen
Автор

Thanks for sharing this, I was about to make a short video saying this, but now I don't need to!

chriskawell
Автор

OH, MY FUCKING GOSH. FUCK, I LOVE YOU, BRO! I WAS SEARCHING FOR THAT ABOUT 2 DAYS, OMG I LOVE YOU -
U SAVED MY PSYCHICS - OMG, LOVE

noddygoat
visit shbcf.ru