Home
Manual
Reference
Scripting
Scripting Reference
Switch to Component
Animator
.GetLayerName
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Attributes
Enumerations
History
Index
Animator
All Members
Variables
animatePhysics
applyRootMotion
avatar
bodyPosition
bodyRotation
cullingMode
deltaPosition
deltaRotation
feetPivotActive
gravityWeight
humanScale
isHuman
isMatchingTarget
layerCount
layersAffectMassCenter
pivotPosition
pivotWeight
rootPosition
rootRotation
speed
stabilizeFeet
targetPosition
targetRotation
Functions
ForceStateNormalizedTime
GetAnimatorTransitionInfo
GetBoneTransform
GetBool
GetCurrentAnimationClipState
GetCurrentAnimatorStateInfo
GetFloat
GetIKPosition
GetIKPositionWeight
GetIKRotation
GetIKRotationWeight
GetInteger
GetLayerName
GetLayerWeight
GetNextAnimationClipState
GetNextAnimatorStateInfo
GetQuaternion
GetVector
InterruptMatchTarget
IsControlled
IsInTransition
IsParameterControlledByCurve
MatchTarget
SetBool
SetFloat
SetIKPosition
SetIKPositionWeight
SetIKRotation
SetIKRotationWeight
SetInteger
SetLayerWeight
SetLookAtPosition
SetLookAtWeight
SetQuaternion
SetTarget
SetVector
Class Functions
StringToHash
Inherited Variables
animation
audio
camera
collider
constantForce
enabled
gameObject
guiText
guiTexture
hideFlags
hingeJoint
light
name
networkView
particleEmitter
particleSystem
renderer
rigidbody
tag
transform
Inherited Functions
BroadcastMessage
CompareTag
GetComponent
GetComponentInChildren
GetComponents
GetComponentsInChildren
GetInstanceID
SendMessage
SendMessageUpwards
ToString
Inherited Class Functions
Destroy
DestroyImmediate
DontDestroyOnLoad
FindObjectOfType
FindObjectsOfType
Instantiate
operator !=
operator ==
operator bool
function
GetLayerName (layerIndex :
int
) :
String
Parameters
Name
Description
layerIndex
The layer's index
Description
Gets name of the layer