Search Unity

Create new sorting layer via Code?

Discussion in 'Scripting' started by ShadoX, Apr 3, 2014.

  1. ShadoX

    ShadoX

    Joined:
    Aug 25, 2010
    Posts:
    260
    Hi,

    does someone happen to know how to create new sorting Layers via code? Best I have found so far is someone asking the same question on Answers , but w/o any answer...

    Or should I just request this on http://feedback.unity3d.com ?

    Thanks,

    [edit] Added the request to to feedback.Unity3d.com
     
    Last edited: Apr 4, 2014
  2. DanielQuick

    DanielQuick

    Joined:
    Dec 31, 2010
    Posts:
    3,137
    I assume you cannot, just as you cannot create new tags or layers via code.