2D Toolkit Forum
2D Toolkit => Support => Topic started by: birdkingz on October 28, 2015, 02:21:38 am
-
In Unity Sprite, I can change the sorting layer name in code but I couldn't find anything in tk2dSprite? Possible to add this feature?
-
The sorting layer name is a property of all renderers in Unity. so GetComponennt<Renderer>().sortingLayerName = "Hello"; will work fine.