2D Toolkit Forum

2D Toolkit => Support => Topic started by: alex.seeck on June 15, 2015, 11:03:32 am

Title: [Unity] Can one change the sorting layer of a TK2DSprite
Post by: alex.seeck on June 15, 2015, 11:03:32 am
As simple as that:
Can one access this from script? Will this be implemented if not? I'm kinda stuck, because what I want to do is move a vehicle from the background out of the screen and then move it on somewhere in the front. Because of this limitation I can't fit it in between scene objects
Title: Re: [Unity] Can one change the sorting layer of a TK2DSprite
Post by: unikronsoftware on June 15, 2015, 12:28:55 pm
The properties are on the MeshRenderer. Check Unity docs on how to get it.
The view on the tk2dSprite inspector is purely a front end to that.