AnimationEvent.functionName
var functionName: string;
Description

The name of the function that will be called.

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