This version of Unity is unsupported.

SortingLayer.name

public string name;

Description

Returns the name of the layer as defined in the TagManager.

See Also: Tags and Layers.