Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

AnimationEvent.functionName

var functionName: string;
string functionName;
functionName as string

Description

The name of the function that will be called.

This is the same as calling gameObject.SendMessage(animationEvent.functionName, animationEvent).