Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


layers

Returns all the layers defined in this project.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static SortingLayer[] layers { get; }

Remarks

Additional Resources: Tags and Layers.