Version: 2017.3

SortingLayer.GetLayerValueFromName

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

Parámetros

name The 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.