LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

PlayMode

enumeration

Description

Used by Animation.Play function.

Properties

StopSameLayerWill stop all animations that were started in the same layer. This is the default when playing animations.
StopAllWill stop all animations that were started with this component before playing.