Version: 2017.3

Renderer.sortingLayerID

Switch to Manual
public int sortingLayerID ;

Description

Unique ID of the Renderer's sorting layer.

ID of the default sorting layer is always 0.