ドキュメント

Unity Engine

Unity Engine

GetLayerIndex(string)

Returns the index of the layer with the given name.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public int GetLayerIndex(string layerName)

Parameters

layerName

The layer name.

Returns

Type

Description

intThe layer index.