public static int NameToID (string name);

파라미터

nameThe name of the layer.

반환

int The unique id of the layer with name.

설명

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