This version of Unity is unsupported.

Renderer.sortingLayerID

public int sortingLayerID;

Description

Unique ID of the Renderer's sorting layer.

ID of the default sorting layer is always 0.