Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


frontSortingLayerID

Unique ID of the sorting layer defining the start of the custom range.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.SpriteMaskModule
public int frontSortingLayerID { get; set; }

Remarks

Sprites sorted before this sorting layer will not be masked.