ドキュメント

Unity Engine


User Manual

Script Reference

Unity Engine


GetLayerName(int)

Get a layer name for the specified layer ordinal (index).
読み終わるまでの所要時間 1 分最終更新 21日前

Definition

public static string GetLayerName(int layerOrdinal)

Parameters

layerOrdinal

The layer ordinal (index). When using the full layers this should be within the range [0, 63] however if not then the range must be [0, 31].

Returns

Type

Description

stringThe layer name. If no layer name is present then Empty is returned.