Legacy Documentation: Version 5.5
LanguageEnglish
  • C#
  • JS

Script language

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

AnimatorControllerLayer.syncedLayerIndex

public int syncedLayerIndex;

Description

Specifies the index of the Synced Layer.

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