Hello Guest

Author Topic: Runtime sorting layer  (Read 3542 times)

mr_malee

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 12
    • View Profile
Runtime sorting layer
« on: April 09, 2014, 02:25:38 am »
Hi, just wondering if it's possible to change the sorting layer at runtime?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Runtime sorting layer
« Reply #1 on: April 09, 2014, 05:56:38 am »
Yes, just use the unity undocumented renderer.SortingLayer property.