Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AnimatorControllerLayer.syncedLayerIndex

Switch to Manual
public var syncedLayerIndex: int;

Description

Specifies the index of the Synced Layer.

When set to -1 there is no Synced Layer and the layer uses its own AnimatorStateMachine.