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.

Animation.Sample

Switch to Manual
public void Sample();

Description

Samples animations at the current state.

This is useful when you explicitly want to set up some animation state, and sample it once.