Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

SortingLayer.layers

public static SortingLayer[] layers;

Description

Returns all the layers defined in this project.

Additional resources: Tags and Layers.