기술 자료

Unity Engine

Download Unity

Unity Engine

IDToName(int)

Returns the unique id of the layer. Will return "\<unknown layer\>" if an invalid id is given.
읽는 시간 1분최근 업데이트: 6시간 전

Definition

public static string IDToName(int id)

Parameters

id

The unique id of the layer.

Returns

Type

Description

stringThe name of the layer with
id
or "\<unknown layer\>" for invalid id.