Hello Guest

Author Topic: [Unity] Can one change the sorting layer of a TK2DSprite  (Read 3768 times)

alex.seeck

  • Newbie
  • *
  • Posts: 18
    • View Profile
[Unity] Can one change the sorting layer of a TK2DSprite
« 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

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: [Unity] Can one change the sorting layer of a TK2DSprite
« Reply #1 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.