SortingLayer.GetLayerValueFromName

Switch to Manual
public static int GetLayerValueFromName (string name);

Parameters

nameThe unique value of the sorting layer as returned by any renderer's sortingLayerID property.

Returns

int The final sorting value of the layer relative to other layers.

Description

Returns the final sorting layer value. See Also: GetLayerValueFromID.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.