Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

AnimationState.clip

Switch to Manual
public var clip: AnimationClip;

Description

The clip that is being played by this animation state.

	// Prints the frame rate of the animation clip to the console
	print(animation["walk"].clip.frameRate);