SortingLayer.GetLayerValueFromName

Cambiar al Manual
public static int GetLayerValueFromName (string name);

Parámetros

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

Valor de retorno

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

Descripción

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