기술 자료

Unity Engine

Unity Engine

GetLayerIndex(string)

Returns the index of the layer with the given name.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public int GetLayerIndex(string layerName)

Parameters

layerName

The layer name.

Returns

Type

Description

intThe layer index.