Version: 2017.1
public static int NameToID (string name);

Parámetros

name The name of the layer.

Valor de retorno

int The unique id of the layer with name.

Descripción

Returns the id given the name. Will return 0 if an invalid name was given.