GetLayerIndex
GetLayerIndex(Animator, string)
Description
Get the index from the layer name.
Parameters
Parameter Name | Description |
---|---|
animator | Animator |
layerName | Layer Name |
Returns
Index found. If not found, returns -1.
Get the index from the layer name.
Parameter Name | Description |
---|---|
animator | Animator |
layerName | Layer Name |
Index found. If not found, returns -1.