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

파라미터

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