Version: 2019.2
public string functionName ;

Description

Имя функции, которая будет вызвана.

This is the same as calling gameObject.SendMessage(animationEvent.functionName, animationEvent). The function called can have zero or a single argument. See the script example at AnimationEvent to see how functionName can be used.