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).